Added PHP status and ping pages processing

This commit is contained in:
Alexey Pustovalov
2022-08-15 17:35:34 +03:00
parent da2f2f073a
commit 9acf660f21
55 changed files with 294 additions and 24 deletions

View File

@@ -30,6 +30,13 @@ Listen 8443
# HTTP Strict Transport Security (mod_headers is required) (63072000 seconds)
Header always set Strict-Transport-Security "max-age=63072000"
<LocationMatch "/(ping|status)">
Order Allow,Deny
Allow from all
SetHandler "proxy:unix:/tmp/php-fpm.sock|fcgi://localhost"
</LocationMatch>
<Directory "/usr/share/zabbix">
Options FollowSymLinks
AllowOverride None