summaryrefslogtreecommitdiff
path: root/zabbix-web.conf
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-02-02 12:02:02 +0000
committerCoprDistGit <infra@openeuler.org>2024-02-02 12:02:02 +0000
commit095b392983ed13275888082fb07dec857ae7821e (patch)
treeab6788b78de79e54e91195eebb2e8267bc5c7f41 /zabbix-web.conf
parentf6d28d7c04688a8470e3652b1532006c2462cb21 (diff)
automatic import of zabbix
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>