diff --git a/hardware/alpine.nix b/hardware/alpine.nix index db64151..86ccc79 100644 --- a/hardware/alpine.nix +++ b/hardware/alpine.nix @@ -141,6 +141,19 @@ in { enableACME = true; locations."~".proxyPass = "http://localhost:${toString config.services.vaultwarden.config.ROCKET_PORT}"; }; + "auth.tristans.cloud" = { + forceSSL = true; + enableACME = true; + locations."~" = { + proxyPass = "http://localhost:8084"; + proxyWebsockets = true; + extraConfig = '' + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Host $host; + ''; + }; + }; }; }; security.acme = {