pipebert: enable proxyprotocol

This commit is contained in:
Sandro - 2024-03-15 00:28:57 +01:00
parent 2faed7e9d4
commit 607fbc7b00
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 2 additions and 2 deletions

View File

@ -96,6 +96,7 @@
default = true;
enableACME = true;
forceSSL = true;
listen = libC.defaultListen;
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.octoprint.port}";
proxyWebsockets = true;

View File

@ -110,8 +110,7 @@
} {
hostNames = [ "drkkr.hq.c3d2.de" ];
proxyTo.host = hostRegistry.pulsebert.ip4;
# TODO: enable in pipebert
# proxyProtocol = true;
proxyProtocol = true;
} {
hostNames = [ "scrape.hq.c3d2.de" ];
proxyTo.host = hostRegistry.scrape.ip4;