Fix vpn configuration

This commit is contained in:
Fabian Hauser 2024-12-11 13:01:22 +02:00
parent 747c637f80
commit aaebb4bc19
4 changed files with 20 additions and 7 deletions

View file

@ -80,7 +80,7 @@ with lib;
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:${toString config.services.vaultwarden.config.ROCKET_PORT}";
proxyPass = "http://127.0.0.1:${toString config.services.vaultwarden.config.ROCKET_PORT}";
proxyWebsockets = true;
};
};