Clean up the sockethub nginx config
This commit is contained in:
		
							parent
							
								
									9436284be2
								
							
						
					
					
						commit
						3f15330b00
					
				| @ -28,22 +28,6 @@ server { | ||||
|   } | ||||
| 
 | ||||
|   location / { | ||||
|     # an HTTP header important enough to have its own Wikipedia entry: | ||||
|     #  http://en.wikipedia.org/wiki/X-Forwarded-For | ||||
|     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||||
| 
 | ||||
|     # enable this if and only if you use HTTPS, this helps Rack | ||||
|     # set the proper protocol for doing redirects: | ||||
|     proxy_set_header X-Forwarded-Proto https; | ||||
| 
 | ||||
|     # pass the Host: header from the client right along so redirects | ||||
|     # can be set properly within the Rack application | ||||
|     proxy_set_header Host $http_host; | ||||
| 
 | ||||
|     # we don't want nginx trying to do something clever with | ||||
|     # redirects, we set the Host: header above already. | ||||
|     proxy_redirect off; | ||||
| 
 | ||||
|     # Increase number of buffers. Default is 8 | ||||
|     proxy_buffers 1024 8k; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user