2020-04-26 18:45:42 +02:00
|
|
|
<VirtualHost *:8080>
|
2018-02-18 21:45:33 +01:00
|
|
|
DocumentRoot /usr/share/zabbix/
|
|
|
|
ServerName zabbix
|
2024-01-20 12:40:13 +01:00
|
|
|
DirectoryIndex {HTTP_INDEX_FILE}
|
2018-02-18 21:45:33 +01:00
|
|
|
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
|
|
|
AddType application/x-httpd-php-source .phps
|
|
|
|
|
2022-08-15 16:35:34 +02:00
|
|
|
<LocationMatch "/(ping|status)">
|
|
|
|
Order Allow,Deny
|
|
|
|
Allow from all
|
|
|
|
|
|
|
|
SetHandler "proxy:unix:/tmp/php-fpm.sock|fcgi://localhost"
|
|
|
|
</LocationMatch>
|
|
|
|
|
2018-09-28 12:58:15 +02:00
|
|
|
<Directory "/usr/share/zabbix">
|
|
|
|
Options FollowSymLinks
|
|
|
|
AllowOverride None
|
|
|
|
Require all granted
|
2020-04-27 21:46:25 +02:00
|
|
|
|
|
|
|
<FilesMatch \.(php|phar)$>
|
|
|
|
SetHandler "proxy:unix:/tmp/php-fpm.sock|fcgi://localhost"
|
|
|
|
</FilesMatch>
|
2018-09-28 12:58:15 +02:00
|
|
|
</Directory>
|
2018-02-18 21:45:33 +01:00
|
|
|
|
2018-09-28 12:58:15 +02:00
|
|
|
<Directory "/usr/share/zabbix/conf">
|
|
|
|
Require all denied
|
|
|
|
<files *.php>
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</files>
|
|
|
|
</Directory>
|
2018-02-18 21:45:33 +01:00
|
|
|
|
2018-09-28 12:58:15 +02:00
|
|
|
<Directory "/usr/share/zabbix/app">
|
|
|
|
Require all denied
|
|
|
|
<files *.php>
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</files>
|
|
|
|
</Directory>
|
2018-02-18 21:45:33 +01:00
|
|
|
|
2018-09-28 12:58:15 +02:00
|
|
|
<Directory "/usr/share/zabbix/include">
|
|
|
|
Require all denied
|
|
|
|
<files *.php>
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</files>
|
|
|
|
</Directory>
|
2018-02-18 21:45:33 +01:00
|
|
|
|
2018-09-28 12:58:15 +02:00
|
|
|
<Directory "/usr/share/zabbix/local">
|
|
|
|
Require all denied
|
|
|
|
<files *.php>
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</files>
|
|
|
|
</Directory>
|
2021-06-07 13:19:48 +02:00
|
|
|
|
2021-06-09 00:09:00 +02:00
|
|
|
<Directory "/usr/share/zabbix/locale">
|
|
|
|
Require all denied
|
|
|
|
<files *.php>
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</files>
|
|
|
|
</Directory>
|
2021-06-09 01:44:11 +02:00
|
|
|
|
2021-06-07 13:19:48 +02:00
|
|
|
<Directory "/usr/share/zabbix/vendor">
|
|
|
|
Require all denied
|
|
|
|
<files *.php>
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
</files>
|
|
|
|
</Directory>
|
2018-09-28 12:58:15 +02:00
|
|
|
</VirtualHost>
|