Fix IP for catacomb forward

This commit is contained in:
Jaculabilis 2022-12-11 13:06:10 +00:00
parent 8f030a559b
commit 9fcd9bf01d

View File

@ -12,18 +12,18 @@
'';
locations = {
# Forwards to the index server
"/browse/".proxyPass = "http://10.7.3.16:7472/browse/";
"/browse/".proxyPass = "http://10.22.20.2:7472/browse/";
# Forwards to nginx via catacomb auth server
"/".extraConfig = ''
auth_request /auth;
proxy_buffering off;
proxy_pass http://10.7.3.16:7470/;
proxy_pass http://10.22.20.2:7470/;
'';
"= /auth".extraConfig = ''
internal;
proxy_buffering off;
proxy_pass_request_body off;
proxy_pass http://10.7.3.16:7471/;
proxy_pass http://10.22.20.2:7471/;
proxy_set_header Content-Length "";
proxy_set_header X-Original-URI $request_uri;
'';