Skip to content

Commit

Permalink
Fixed nginx X-Forwarded-Proto to match the protocol ("http", "https")
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6d61726b committed Oct 26, 2023
1 parent 9a67591 commit 2072890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/nginx/webvirtcloud.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ server {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-for $proxy_add_x_forwarded_for;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Forwarded-Proto $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Ssl off;
proxy_connect_timeout 1800;
proxy_read_timeout 1800;
Expand Down

0 comments on commit 2072890

Please sign in to comment.