src.nth.io/

summaryrefslogtreecommitdiff
path: root/writefreely/server/templates/nginx.conf.j2
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-07-31 14:31:51 -0500
committerLuke Hoersten <[email protected]>2026-07-31 14:31:51 -0500
commitafe7aa9445afe27f8c09033663f9161039ee363a (patch)
tree7624c5b8289f47ed31b5d141edbcef065f52f391 /writefreely/server/templates/nginx.conf.j2
parente29fb72f3239e0d5317da659ec96de812247ce67 (diff)
delete unused unifi and writefreely roles
Nothing references them: no play in main.yaml, no meta dependency.
Diffstat (limited to 'writefreely/server/templates/nginx.conf.j2')
-rw-r--r--writefreely/server/templates/nginx.conf.j254
1 files changed, 0 insertions, 54 deletions
diff --git a/writefreely/server/templates/nginx.conf.j2 b/writefreely/server/templates/nginx.conf.j2
deleted file mode 100644
index 4f1cf4d..0000000
--- a/writefreely/server/templates/nginx.conf.j2
+++ /dev/null
@@ -1,54 +0,0 @@
-server {
- listen 80;
- server_name {{nginx_server_name}};
- return 301 https://$host$request_uri;
-}
-
-server {
- listen 443 ssl http2;
- server_name {{nginx_server_name}};
-
- ssl_certificate {{nginx_ssl_cert}};
- ssl_certificate_key {{nginx_ssl_privkey}};
- ssl_ecdh_curve X25519:prime256v1:secp384r1:secp521r1;
-
- gzip on;
- gzip_types
- application/javascript
- application/x-javascript
- application/json
- application/rss+xml
- application/xml
- image/svg+xml
- image/x-icon
- application/vnd.ms-fontobject
- application/font-sfnt
- text/css
- text/plain;
- gzip_min_length 256;
- gzip_comp_level 5;
- gzip_http_version 1.1;
- gzip_vary on;
-
- location ~ ^/.well-known/(webfinger|nodeinfo|host-meta) {
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $remote_addr;
- proxy_pass http://127.0.0.1:{{nginx_proxy_port}};
- proxy_redirect off;
- }
-
- location ~ ^/(css|img|js|fonts)/ {
- root {{nginx_static_content}};
- # Optionally cache these files in the browser:
- # expires 12M;
- }
-
- location / {
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $remote_addr;
- proxy_pass http://127.0.0.1:{{nginx_proxy_port}};
- proxy_redirect off;
- }
-}