mirror of
https://github.com/bitwarden/self-host.git
synced 2026-06-27 22:05:45 +00:00
[SHOT-96] Apply new http2 directive (#521)
* Apply new http2 directive Removed 'http2' from listen directives and enabled http2 in the server block. * typo
This commit is contained in:
@@ -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"}}};
|
||||
|
||||
Reference in New Issue
Block a user