# Static file server for the reader. Plays are UTF-8 text; say so explicitly. server { listen 8080; server_name _; root /usr/share/nginx/html; charset utf-8; charset_types text/plain text/css application/javascript application/json; location / { try_files $uri $uri/ /index.html; include /etc/nginx/conf.d/security-headers.inc; } location /plays/ { add_header Cache-Control "no-cache"; include /etc/nginx/conf.d/security-headers.inc; } location /fonts/ { add_header Cache-Control "public, max-age=2592000"; include /etc/nginx/conf.d/security-headers.inc; } }