3252041e65
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
20 lines
529 B
Nginx Configuration File
20 lines
529 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name _;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
# Compression
|
|
gzip on;
|
|
gzip_comp_level 5;
|
|
gzip_min_length 1024;
|
|
gzip_types text/plain text/css application/javascript image/svg+xml application/json;
|
|
|
|
# Always revalidate with the server (cheap 304s via ETag) so new deploys show up
|
|
# immediately instead of being stuck behind a long browser cache.
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
add_header Cache-Control "no-cache";
|
|
}
|
|
}
|