| 1 | server { |
| 2 | server_name dougk.world; |
| 3 | root /var/www/dougk.world/current; |
| 4 | index index.html; |
| 5 | |
| 6 | access_log /var/log/nginx/dougk.access.log; |
| 7 | error_log /var/log/nginx/dougk.error.log; |
| 8 | |
| 9 | add_header X-Frame-Options "SAMEORIGIN" always; |
| 10 | add_header X-Content-Type-Options "nosniff" always; |
| 11 | add_header Referrer-Policy "strict-origin-when-cross-origin" always; |
| 12 | |
| 13 | location /assets/ { |
| 14 | access_log off; |
| 15 | expires 30d; |
| 16 | add_header Cache-Control "public"; |
| 17 | } |
| 18 | |
| 19 | listen 80; |
| 20 | } |