Serve /cms without a slash redirect.
Nginx was turning that redirect into an onion URL on port 8080, which Tor does not publish.
This commit is contained in:
@@ -31,13 +31,9 @@ location /api {
|
|||||||
proxy_pass http://backend:${BACKEND_PORT};
|
proxy_pass http://backend:${BACKEND_PORT};
|
||||||
}
|
}
|
||||||
|
|
||||||
location = /cms {
|
location /cms {
|
||||||
return 301 /cms/;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /cms/ {
|
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
try_files $uri $uri/ /cms/index.html;
|
try_files $uri /cms/index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /pgadmin {
|
location /pgadmin {
|
||||||
|
|||||||
Reference in New Issue
Block a user