diff options
author | CoprDistGit <infra@openeuler.org> | 2023-08-22 07:42:22 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-08-22 07:42:22 +0000 |
commit | d516352a45d3bae02cdf2e45f911bf284160f4e2 (patch) | |
tree | 241e942c09addefcfa2fbce5bba6d4debfaa38d0 /zabbix-web.conf | |
parent | f6d28d7c04688a8470e3652b1532006c2462cb21 (diff) |
automatic import of zabbix
Diffstat (limited to 'zabbix-web.conf')
-rw-r--r-- | zabbix-web.conf | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/zabbix-web.conf b/zabbix-web.conf new file mode 100644 index 0000000..34c38b4 --- /dev/null +++ b/zabbix-web.conf @@ -0,0 +1,35 @@ +# +# Zabbix monitoring system php web frontend +# + +Alias /zabbix /usr/share/zabbix + +<Directory "/usr/share/zabbix"> + Options FollowSymLinks + AllowOverride None + Require all granted + + <IfModule dir_module> + DirectoryIndex index.php + </IfModule> + + <FilesMatch \.(php|phar)$> + SetHandler "proxy:unix:/run/php-fpm/zabbix.sock|fcgi://localhost" + </FilesMatch> +</Directory> + +<Directory "/usr/share/zabbix/conf"> + Require all denied +</Directory> + +<Directory "/usr/share/zabbix/app"> + Require all denied +</Directory> + +<Directory "/usr/share/zabbix/include"> + Require all denied +</Directory> + +<Directory "/usr/share/zabbix/local"> + Require all denied +</Directory> |