Change proxy_set_header Host back to $host
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
		@@ -16,7 +16,7 @@ proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
 | 
			
		||||
proxy_set_header X-Original-URI $request_uri;
 | 
			
		||||
 | 
			
		||||
# Forward host header
 | 
			
		||||
proxy_set_header Host $http_host;
 | 
			
		||||
proxy_set_header Host $host;
 | 
			
		||||
 | 
			
		||||
# Upgrade connection
 | 
			
		||||
proxy_set_header   Upgrade $http_upgrade;
 | 
			
		||||
@@ -30,4 +30,4 @@ proxy_set_header X-Forwarded-Ssl on;
 | 
			
		||||
proxy_set_header X-Forwarded-Port $server_port;
 | 
			
		||||
 | 
			
		||||
# Hide X-Powered-By
 | 
			
		||||
proxy_hide_header X-Powered-By;
 | 
			
		||||
proxy_hide_header X-Powered-By;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user