mirror of
https://github.com/bckelley/phpmyadmin-docker-lightweight.git
synced 2026-08-24 03:24:11 -05:00
Merge pull request #10 from beeyev/fix-issue-9
Fix Issue #9 - heatlhcheck doesn't work
This commit is contained in:
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user