user www-data; worker_processes auto; error_log /var/log/nginx/error.log warn; pid /run/nginx.pid; events { worker_connections 2048; } http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; server_tokens off; client_max_body_size 100M; gzip on; gzip_comp_level 5; gzip_min_length 256; gzip_types text/plain text/css text/javascript application/javascript application/json application/xml image/svg+xml; map $http_x_forwarded_proto $fastcgi_https { default ""; https on; } server { listen 80; server_name _; absolute_redirect off; location = / { add_header Content-Type text/plain; return 200 'Laravel Stack pronta. Use /nome-do-projeto para acessar seus projetos.'; } location = /health { add_header Content-Type text/plain; return 200 'ok'; } include /etc/nginx/sites-dynamic/*.conf; location ~ /\.(?!well-known).* { deny all; } } }