Merge pull request #10 from beeyev/fix-issue-9

Fix Issue #9 - heatlhcheck doesn't work
This commit is contained in:
Alexander Tebiev
2024-04-27 14:28:43 +02:00
committed by GitHub
+11 -7
View File
@@ -1,20 +1,24 @@
(proxyheaders) {
trusted_proxies 0.0.0.0/0
}
{ {
auto_https off auto_https off
admin off admin off
log { log {
level WARN level WARN
} }
servers {
trusted_proxies static 0.0.0.0/0 ::/0
}
} }
:80 { :80 {
root * /var/www/html/ root * /var/www/html/
php_fastcgi 127.0.0.1:9000 { php_fastcgi localhost:9000
trusted_proxies 0.0.0.0/0
}
file_server file_server
encode zstd gzip encode zstd gzip
} }
# Internal healthcheck
:9999 {
handle /health {
respond "OK" 200
}
}