user sail; worker_processes auto; pid /run/nginx.pid; error_log /dev/stderr warn; events { worker_connections 1024; } http { include /etc/nginx/mime.types; default_type application/octet-stream; access_log /dev/stdout; sendfile on; tcp_nopush on; keepalive_timeout 65; client_max_body_size 100m; server { listen 80 default_server; server_name _; root /var/www/html/public; index index.php; location / { try_files $uri $uri/ /index.php?$query_string; } location = /healthz { allow 127.0.0.1; deny all; include fastcgi_params; fastcgi_param SCRIPT_FILENAME /dev/null; fastcgi_pass 127.0.0.1:9000; } location ~ \.php$ { try_files $uri =404; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param HTTP_PROXY ""; fastcgi_pass 127.0.0.1:9000; fastcgi_read_timeout 60s; } location ~ /\. { deny all; } } }