From e66cc657e53c4e24d8ebdb19c170e6fe54301566 Mon Sep 17 00:00:00 2001 From: mia Date: Sun, 7 Jul 2024 10:11:04 -0700 Subject: disable absolute redirects globally --- nginx/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nginx/nginx.conf') diff --git a/nginx/nginx.conf b/nginx/nginx.conf index a5e108d..6a091b1 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -37,12 +37,13 @@ http { js_import nginx.js; js_shared_dict_zone zone=auth_token_cache:32k timeout=5m evict; + absolute_redirect off; + server { listen 80 default_server; listen [::]:80 default_server; default_type text/plain; - absolute_redirect off; root /srv/web/$host; index index.html; } -- cgit 1.4.1