server { listen 80; listen [::]:80; server_name _; root /usr/share/nginx/html; index index.html; location / { try_files $uri /index.html; } location = /health { add_header Content-Type text/plain; return 200 "OK\n"; access_log off; } gzip on; gzip_types text/plain text/css application/json application/javascript text/xml application/xml image/svg+xml; access_log off; }