mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-07 09:25:40 -05:00
Change nginx listen http2 deprecated directive
This commit is contained in:
5
dist/nginx.conf
vendored
5
dist/nginx.conf
vendored
@@ -31,8 +31,9 @@ server {
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
http2 on;
|
||||
server_name example.com;
|
||||
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
|
||||
Reference in New Issue
Block a user