github.com/ddev/ddev@v1.23.2-0.20240519125000-d824ffe36ff3/containers/ddev-webserver/ddev-webserver-base-files/etc/nginx/monitoring.conf (about) 1 ## provide a health check endpoint 2 location /healthcheck { 3 auth_basic off; 4 access_log off; 5 stub_status on; 6 keepalive_timeout 0; # Disable HTTP keepalive 7 return 200; 8 } 9 10 location ~ ^/phpstatus$ { 11 auth_basic off; 12 access_log off; 13 stub_status on; 14 keepalive_timeout 0; # Disable HTTP keepalive 15 allow 127.0.0.1; 16 allow all; 17 fastcgi_index index.php; 18 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 19 include fastcgi_params; 20 fastcgi_pass unix:/run/php-fpm.sock; 21 }