From 8b56a9a5a964474668bfb953a46d1d4a7e76a2ff Mon Sep 17 00:00:00 2001 From: nobswebdev Date: Wed, 25 Nov 2026 20:15:39 +0000 Subject: [PATCH] Serve /cms without a slash redirect. Nginx was turning that redirect into an onion URL on port 8080, which Tor does not publish. --- nginx/snippets/nullcart-locations.conf.template | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/nginx/snippets/nullcart-locations.conf.template b/nginx/snippets/nullcart-locations.conf.template index ec015a8..937a67c 100644 --- a/nginx/snippets/nullcart-locations.conf.template +++ b/nginx/snippets/nullcart-locations.conf.template @@ -31,13 +31,9 @@ location /api { proxy_pass http://backend:${BACKEND_PORT}; } -location = /cms { - return 301 /cms/; -} - -location /cms/ { +location /cms { root /usr/share/nginx/html; - try_files $uri $uri/ /cms/index.html; + try_files $uri /cms/index.html; } location /pgadmin {