diff --git a/bitwarden-lite/hbs/nginx-config.hbs b/bitwarden-lite/hbs/nginx-config.hbs index 75bf39e..c284a07 100644 --- a/bitwarden-lite/hbs/nginx-config.hbs +++ b/bitwarden-lite/hbs/nginx-config.hbs @@ -10,11 +10,12 @@ server { } server { - listen {{{String.Coalesce env.BW_PORT_HTTPS "8443"}}} ssl http2; + listen {{{String.Coalesce env.BW_PORT_HTTPS "8443"}}} ssl; {{#if (String.Equal env.BW_ENABLE_IPV6 "true")}} - listen [::]:{{{String.Coalesce env.BW_PORT_HTTPS "8443"}}} ssl http2; + listen [::]:{{{String.Coalesce env.BW_PORT_HTTPS "8443"}}} ssl; {{/if}} server_name {{{String.Coalesce env.BW_DOMAIN "localhost"}}}; + http2 on; ssl_certificate /etc/bitwarden/{{{String.Coalesce env.BW_SSL_CERT "ssl.crt"}}}; ssl_certificate_key /etc/bitwarden/{{{String.Coalesce env.BW_SSL_KEY "ssl.key"}}};