We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70de8d1 commit e4de677Copy full SHA for e4de677
scripts/install.sh
@@ -58,7 +58,10 @@ server {
58
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
59
proxy_set_header Host \$host;
60
proxy_pass http://localhost:6906/;
61
- # Required to prevent downgrades diring redirects
+ # Required to prevent downgrades during redirects
62
+ # This is caused by an oddity in how Crow handles redirects. See
63
+ # https://github.com/CrowCpp/Crow/blob/ad337a8a868d1d6bc61e9803fc82f36c61f706de/include/crow/http_connection.h#L257
64
+ # for the code in question
65
proxy_redirect http://$host/ https://$host/;
66
proxy_http_version 1.1;
67
proxy_set_header Upgrade \$http_upgrade;
0 commit comments