From 607fbc7b0037447eebffd44cef7c28ade862fd4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 15 Mar 2024 00:28:57 +0100 Subject: [PATCH] pipebert: enable proxyprotocol --- hosts/pipebert/default.nix | 1 + hosts/public-access-proxy/default.nix | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/pipebert/default.nix b/hosts/pipebert/default.nix index 07d098db..c5e79ebd 100644 --- a/hosts/pipebert/default.nix +++ b/hosts/pipebert/default.nix @@ -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; diff --git a/hosts/public-access-proxy/default.nix b/hosts/public-access-proxy/default.nix index 733a7ae1..4f648a6a 100644 --- a/hosts/public-access-proxy/default.nix +++ b/hosts/public-access-proxy/default.nix @@ -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;