2025-01-13 11:24:39 +01:00
|
|
|
Listen 8080
|
|
|
|
|
2020-04-25 21:01:11 +02:00
|
|
|
<VirtualHost *:8080>
|
2025-01-13 11:24:39 +01:00
|
|
|
<LocationMatch "/(ping|status)">
|
2025-01-14 06:48:23 +01:00
|
|
|
Require all granted
|
2025-01-13 11:24:39 +01:00
|
|
|
|
|
|
|
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
|
2025-01-13 11:24:39 +01:00
|
|
|
|
2025-01-14 06:48:23 +01:00
|
|
|
<FilesMatch \.php$>
|
2025-01-13 11:24:39 +01:00
|
|
|
SetHandler "proxy:unix:/tmp/php-fpm.sock|fcgi://localhost"
|
|
|
|
</FilesMatch>
|
|
|
|
|
|
|
|
<filesMatch "\.(ico)$">
|
|
|
|
ExpiresActive On
|
|
|
|
ExpiresDefault "access plus 1 year"
|
|
|
|
Header append Cache-Control "public"
|
|
|
|
</filesMatch>
|
|
|
|
|
|
|
|
<filesMatch "\.(js|css|png|jpg|jpeg|gif|xml|txt)$">
|
|
|
|
ExpiresActive On
|
|
|
|
ExpiresDefault "access plus 14 day"
|
|
|
|
Header append Cache-Control "public"
|
|
|
|
</filesMatch>
|
2018-09-28 12:58:15 +02:00
|
|
|
</Directory>
|
2016-08-03 10:09:49 +02:00
|
|
|
|
2018-09-28 12:58:15 +02:00
|
|
|
<Directory "/usr/share/zabbix/conf">
|
|
|
|
Require all denied
|
|
|
|
<files *.php>
|
2025-01-14 06:48:23 +01:00
|
|
|
Require all denied
|
2018-09-28 12:58:15 +02:00
|
|
|
</files>
|
|
|
|
</Directory>
|
2016-08-03 10:09:49 +02:00
|
|
|
|
2018-09-28 12:58:15 +02:00
|
|
|
<Directory "/usr/share/zabbix/app">
|
|
|
|
Require all denied
|
|
|
|
<files *.php>
|
2025-01-14 06:48:23 +01:00
|
|
|
Require all denied
|
2018-09-28 12:58:15 +02:00
|
|
|
</files>
|
|
|
|
</Directory>
|
2016-08-03 10:09:49 +02:00
|
|
|
|
2018-09-28 12:58:15 +02:00
|
|
|
<Directory "/usr/share/zabbix/include">
|
|
|
|
Require all denied
|
|
|
|
<files *.php>
|
2025-01-14 06:48:23 +01:00
|
|
|
Require all denied
|
2018-09-28 12:58:15 +02:00
|
|
|
</files>
|
|
|
|
</Directory>
|
2016-08-03 10:09:49 +02:00
|
|
|
|
2018-09-28 12:58:15 +02:00
|
|
|
<Directory "/usr/share/zabbix/local">
|
|
|
|
Require all denied
|
|
|
|
<files *.php>
|
2025-01-14 06:48:23 +01:00
|
|
|
Require all denied
|
2018-09-28 12:58:15 +02:00
|
|
|
</files>
|
|
|
|
</Directory>
|
2021-06-07 13:24:08 +02:00
|
|
|
|
2021-06-09 00:09:00 +02:00
|
|
|
<Directory "/usr/share/zabbix/locale">
|
|
|
|
Require all denied
|
|
|
|
<files *.php>
|
2025-01-14 06:48:23 +01:00
|
|
|
Require all denied
|
2021-06-09 00:09:00 +02:00
|
|
|
</files>
|
|
|
|
</Directory>
|
2021-06-09 01:48:27 +02:00
|
|
|
|
2021-06-07 13:24:08 +02:00
|
|
|
<Directory "/usr/share/zabbix/vendor">
|
|
|
|
Require all denied
|
|
|
|
<files *.php>
|
2025-01-14 06:48:23 +01:00
|
|
|
Require all denied
|
2021-06-07 13:24:08 +02:00
|
|
|
</files>
|
|
|
|
</Directory>
|
2018-09-28 12:58:15 +02:00
|
|
|
</VirtualHost>
|