aienos.com
Source of www.aienos.com, served from my own hardware
Brought by drakestapleton
aienos.com / scripts / hive / nginx-location.conf
| 1 | # Include inside the existing www.aienos.com TLS server, not the SNI router. |
| 2 | # Only this exact file is public; the directory and incoming files are not. |
| 3 | location = /hive/live.json { |
| 4 | alias /var/www/aienos-hive/live.json; |
| 5 | default_type application/json; |
| 6 | limit_except GET HEAD { deny all; } |
| 7 | add_header Cache-Control "no-store, max-age=0" always; |
| 8 | add_header X-Content-Type-Options nosniff always; |
| 9 | add_header Strict-Transport-Security "max-age=31536000" always; |
| 10 | add_header Referrer-Policy no-referrer always; |
| 11 | add_header Content-Security-Policy "default-src 'none'; frame-ancestors 'none'" always; |
| 12 | access_log off; |
| 13 | } |
| 14 | |
| 15 | # Edge-generated document only: never expose scratch files or a directory index. |
| 16 | # No scripts or consent pixel on this no-JavaScript route. A file alias on a |
| 17 | # URI ending in "/" makes nginx's index module look for board.htmlindex.html |
| 18 | # (500 on hub, 2026-10-26); serve the one file through try_files instead. |
| 19 | location = /hive/board/ { |
| 20 | root /var/www/aienos-hive; |
| 21 | try_files /board.html =404; |
| 22 | default_type text/html; |
| 23 | limit_except GET HEAD { deny all; } |
| 24 | add_header Cache-Control "no-store, max-age=0" always; |
| 25 | add_header X-Content-Type-Options nosniff always; |
| 26 | add_header Strict-Transport-Security "max-age=31536000" always; |
| 27 | add_header Referrer-Policy no-referrer always; |
| 28 | add_header Content-Security-Policy "default-src 'none'; style-src 'self'; frame-ancestors 'none'; form-action 'none'" always; |
| 29 | access_log off; |
| 30 | } |