Files

23 lines
418 B
Nginx Configuration File

server {
listen 3000;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ $uri.html /index.html;
}
location /_next/static/ {
expires 1y;
add_header Cache-Control "public, immutable";
}
location /health {
return 200 'ok';
add_header Content-Type text/plain;
}
error_page 404 /404.html;
}