aboutsummaryrefslogtreecommitdiff
path: root/conf/nginx.conf
diff options
context:
space:
mode:
authormagikcypress <cyp@rouquin.me>2017-04-09 16:32:12 +0200
committermagikcypress <cyp@rouquin.me>2017-04-09 16:32:12 +0200
commit56c48a47324ffb851fb73654c0fc52049fae5b31 (patch)
tree4695862d2c860a4f1513e350afab6b442ddc20b3 /conf/nginx.conf
parentdbd92b090ad9a7ce0b3428623667f308547eca88 (diff)
downloadmastodon_ynh-56c48a47324ffb851fb73654c0fc52049fae5b31.tar.gz
mastodon_ynh-56c48a47324ffb851fb73654c0fc52049fae5b31.tar.bz2
mastodon_ynh-56c48a47324ffb851fb73654c0fc52049fae5b31.zip
Update install
Diffstat (limited to 'conf/nginx.conf')
-rw-r--r--conf/nginx.conf7
1 files changed, 2 insertions, 5 deletions
diff --git a/conf/nginx.conf b/conf/nginx.conf
index 19650dd..a6769a7 100644
--- a/conf/nginx.conf
+++ b/conf/nginx.conf
@@ -13,7 +13,7 @@
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection $connection_upgrade;
+ proxy_set_header Connection "upgrade";
tcp_nodelay on;
}
@@ -27,9 +27,6 @@
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection $connection_upgrade;
+ proxy_set_header Connection "upgrade";
tcp_nodelay on;
- }
-
- error_page 500 501 502 503 504 /500.html;
} \ No newline at end of file