Move Prosody URLs to /_/ and portal to /

This commit is contained in:
Matthew Wild 2021-01-22 14:42:34 +00:00
parent b801942169
commit ab87bc1144
1 changed files with 4 additions and 4 deletions

View File

@ -15,15 +15,15 @@ server {
server_name groups.${SNIKKET_DOMAIN};
server_name share.${SNIKKET_DOMAIN};
location /portal {
proxy_pass http://localhost:${SNIKKET_TWEAK_PORTAL_INTERNAL_HTTP_PORT}/;
location / {
proxy_pass http://localhost:8000/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
}
location / {
proxy_pass http://localhost:${SNIKKET_TWEAK_INTERNAL_HTTP_PORT}/;
location /_/ {
proxy_pass http://localhost:5280/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;