pipebert: enable proxyprotocol
This commit is contained in:
parent
2faed7e9d4
commit
607fbc7b00
|
@ -96,6 +96,7 @@
|
||||||
default = true;
|
default = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
listen = libC.defaultListen;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://127.0.0.1:${toString config.services.octoprint.port}";
|
proxyPass = "http://127.0.0.1:${toString config.services.octoprint.port}";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
|
|
|
@ -110,8 +110,7 @@
|
||||||
} {
|
} {
|
||||||
hostNames = [ "drkkr.hq.c3d2.de" ];
|
hostNames = [ "drkkr.hq.c3d2.de" ];
|
||||||
proxyTo.host = hostRegistry.pulsebert.ip4;
|
proxyTo.host = hostRegistry.pulsebert.ip4;
|
||||||
# TODO: enable in pipebert
|
proxyProtocol = true;
|
||||||
# proxyProtocol = true;
|
|
||||||
} {
|
} {
|
||||||
hostNames = [ "scrape.hq.c3d2.de" ];
|
hostNames = [ "scrape.hq.c3d2.de" ];
|
||||||
proxyTo.host = hostRegistry.scrape.ip4;
|
proxyTo.host = hostRegistry.scrape.ip4;
|
||||||
|
|
Loading…
Reference in New Issue