summaryrefslogtreecommitdiff
path: root/zabbix-web.conf
diff options
context:
space:
mode:
Diffstat (limited to 'zabbix-web.conf')
-rw-r--r--zabbix-web.conf35
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>