summaryrefslogtreecommitdiff
path: root/roles/nginx/files/conf.d/connection-upgrade.conf
blob: 4153effe83b3fb9efe969a8fb919276fae0dfdad (plain) (blame)
1
2
3
4
5
6
# used for websockets
# set http_connection to either upgrade or close (as normal)
map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
}