Add connection_upgrade

This commit is contained in:
Kayou 2019-04-04 12:28:00 +02:00 committed by GitHub
parent c262313477
commit 1a1fc0bdff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,8 @@
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server { server {
listen 80; listen 80;
listen [::]:80; listen [::]:80;