Vaultwarden: Difference between revisions

m add semicolon
Chiborg (talk | contribs)
m Fix copy-paste error in nginx config
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:
         SMTP_HOST = "127.0.0.1";
         SMTP_HOST = "127.0.0.1";
         SMTP_PORT = 25;
         SMTP_PORT = 25;
         SMTP_SSL = false;
         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;
     };
     };
};
};
'';
</syntaxHighlight>
</syntaxHighlight>