Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienos.com/blob/main/scripts/edge/nginx-om-text.conf # aienos.com Source of www.aienos.com, served from my own hardware Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienos.com / scripts / edge / nginx-om-text.conf` 29 lines ยท 1443 bytes Raw Blame History 1 # INTERIM host-side edge rule. Installed on the hub nginx as 2 # /etc/nginx/snippets/aienos-om-text.conf and included inside the 3 # www.aienos.com server block of /etc/nginx/sites-enabled/aienos.com. 4 # 5 # GitHub Pages types an unknown .om extension as application/octet-stream, so a 6 # browser saves Omega source as a binary file nothing opens. This rule makes 7 # every served .om plain UTF-8 text, the same as the Aien chat page's 8 # .om.txt download. 9 # 10 # Successor: the Omega page generators (om/alpha-page/page.om and any later 11 # page that serves source) emit a .om.txt twin beside each served .om, 12 # which Pages already types as text/plain; then this rule and its include go. 13 location ~ \.om$ { 14 proxy_pass https://aienos_github_pages; 15 proxy_http_version 1.1; 16 proxy_set_header Host www.aienos.com; 17 proxy_set_header X-Forwarded-Host $host; 18 proxy_set_header X-Forwarded-Proto https; 19 proxy_set_header X-Real-IP $remote_addr; 20 proxy_ssl_name www.aienos.com; 21 proxy_redirect off; 22 proxy_hide_header Content-Type; 23 add_header Content-Type "text/plain; charset=utf-8" always; 24 add_header Strict-Transport-Security "max-age=`31536000`; includeSubDomains" always; 25 add_header X-Content-Type-Options nosniff always; 26 add_header Referrer-Policy strict-origin-when-cross-origin always; 27 add_header X-Frame-Options DENY always; 28 add_header Content-Security-Policy "frame-ancestors 'none'" always; 29 }