mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 21:12:24 -05:00 
			
		
		
		
	[bugfix] Fix proxy_pass in named location (#1794)
A proxy_pass in a named location, @name, should not include a trailing slash.
This commit is contained in:
		
					parent
					
						
							
								19dab83ee3
							
						
					
				
			
			
				commit
				
					
						2478d83c84
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -402,7 +402,7 @@ server { | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   location @fileserver { |   location @fileserver { | ||||||
|     proxy_pass http://localhost:8080/; |     proxy_pass http://localhost:8080; | ||||||
|     proxy_set_header Host $host; |     proxy_set_header Host $host; | ||||||
|     proxy_set_header Upgrade $http_upgrade; |     proxy_set_header Upgrade $http_upgrade; | ||||||
|     proxy_set_header Connection "upgrade"; |     proxy_set_header Connection "upgrade"; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue