mirror of
				https://github.com/KevinMidboe/nginx.git
				synced 2025-10-29 17:50:26 +00:00 
			
		
		
		
	Defined snippet for general headers when proxy_pass'ing
This commit is contained in:
		| @@ -1,4 +0,0 @@ | |||||||
| proxy_set_header Host $http_host; |  | ||||||
| proxy_set_header X-Real-IP $remote_addr; |  | ||||||
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |  | ||||||
| proxy_set_header X-Forwarded-Proto $scheme; |  | ||||||
							
								
								
									
										6
									
								
								snippets/proxy-params.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								snippets/proxy-params.conf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | |||||||
|  | proxy_set_header X-Forwarded-Proto https; | ||||||
|  | proxy_set_header X-Real-IP $remote_addr; | ||||||
|  | proxy_set_header X-Forwarded-for $proxy_add_x_forwarded_for; | ||||||
|  | proxy_set_header Host $host; | ||||||
|  |  | ||||||
|  | add_header X-Proxy-Params Applied always; | ||||||
		Reference in New Issue
	
	Block a user