forked from fediversity/fediversity
		
	Use recommended proxy settings for Garage
This commit is contained in:
		
							parent
							
								
									ff23062b9f
								
							
						
					
					
						commit
						aef34ca561
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -170,7 +170,11 @@ in | |||
|           locations."/" = { | ||||
|             proxyPass = "http://localhost:3902"; | ||||
|             extraConfig = '' | ||||
|               ## copied from https://garagehq.deuxfleurs.fr/documentation/cookbook/reverse-proxy/ | ||||
|               proxy_set_header Host $host; | ||||
|               proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||||
|               # Disable buffering to a temporary file. | ||||
|               proxy_max_temp_file_size 0; | ||||
|             ''; | ||||
|           }; | ||||
|         }; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Valentin Gagarin
							Valentin Gagarin