Merge pull request #2458 from mempool/wiz/add-missing-unfurler-nginx-route
[ops] Add missing unfurl nginx route
This commit is contained in:
		
						commit
						7f2e68dae4
					
				| @ -48,6 +48,9 @@ add_header Vary Cookie; | |||||||
| # for exact / requests, redirect based on $lang | # for exact / requests, redirect based on $lang | ||||||
| # cache redirect for 5 minutes | # cache redirect for 5 minutes | ||||||
| location = / { | location = / { | ||||||
|  | 	if ($unfurlbot) { | ||||||
|  | 		proxy_pass $mempoolSpaceUnfurler; | ||||||
|  | 	} | ||||||
| 	if ($lang != '') { | 	if ($lang != '') { | ||||||
| 		return 302 $scheme://$host/$lang/; | 		return 302 $scheme://$host/$lang/; | ||||||
| 	} | 	} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user