Vaultwarden: Difference between revisions
m add semicolon |
Update SMTP environment names to match newest version. Proxy websockets |
||
| Line 24: | Line 24: | ||
SMTP_HOST = "127.0.0.1"; | SMTP_HOST = "127.0.0.1"; | ||
SMTP_PORT = 25; | SMTP_PORT = 25; | ||
SMTP_SECURITY = off; | |||
SMTP_FROM = "admin@bitwarden.example.com"; | SMTP_FROM = "admin@bitwarden.example.com"; | ||
| Line 48: | Line 48: | ||
locations."/" = { | locations."/" = { | ||
proxyPass = "http://127.0.0.1:${toString config.services.vaultwarden.config.ROCKET_PORT}"; | proxyPass = "http://127.0.0.1:${toString config.services.vaultwarden.config.ROCKET_PORT}"; | ||
proxyWebSockets = true; | |||
}; | }; | ||
}; | }; | ||