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:
parent
2fb800ab34
commit
a19a6cb687
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue