diff options
Diffstat (limited to 'nginx')
| -rw-r--r-- | nginx/radar.pestrel.com.conf | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nginx/radar.pestrel.com.conf b/nginx/radar.pestrel.com.conf new file mode 100644 index 0000000..b7d9c08 --- /dev/null +++ b/nginx/radar.pestrel.com.conf @@ -0,0 +1,23 @@ +# BOM radar loop — radar.pestrel.com +# Installed to /etc/nginx/conf.d/radar.conf by setup.sh +# +# Requires /etc/nginx/nginx.conf to include: +# include /etc/nginx/conf.d/*.conf; + +server { + listen 80; + listen [::]:80; + server_name radar.pestrel.com; + + root /srv/www/radar; + index index.html; + + # APNG refreshes every ~6 minutes; let clients revalidate often. + location ~ \.apng$ { + add_header Cache-Control "no-cache"; + } + + location / { + try_files $uri $uri/ =404; + } +} |
