Revert "Add extra middleware to (hopefully) fix syncthing remote gui"

This reverts commit 2fb800ab34.

Didn't work so putting it back
This commit is contained in:
Evie Litherland-Smith 2023-10-26 19:40:49 +01:00
parent 2fb800ab34
commit a19a6cb687
2 changed files with 1 additions and 7 deletions

View file

@ -51,12 +51,6 @@
stsSeconds = "31536000";
stsIncludeSubdomains = true;
};
hostHeaders.headers.customRequestHeaders = {
Host = "$host";
X-Real-IP = "$remote_addr";
X-Forwarded-For = "$proxy_add_x_forwarded_for";
X-Forwarded-Proto = "$scheme";
};
};
};
};

View file

@ -7,7 +7,7 @@
rule = "Host(`sync.xenia.me.uk`)";
entryPoints = [ "http" "https" ];
service = "syncthing-webinterface";
middlewares = [ "auth" "hostHeaders" ];
middlewares = [ "auth" ];
tls = { certResolver = "default"; };
};
services.syncthing-webinterface.loadBalancer.servers =