Separate out the locations in well-known again.
This commit is contained in:
		
							parent
							
								
									1633099428
								
							
						
					
					
						commit
						e2451c7510
					
				| @ -45,7 +45,11 @@ http { | ||||
| 
 | ||||
|         location /.well-known/ { | ||||
|             alias /srv/http/public/well-known/; | ||||
|             # default_type text/plain; | ||||
|             default_type text/plain; | ||||
|         } | ||||
| 
 | ||||
|         location ~ /\.well-known/(?<path>openpgpkey/[^/]+/hu/) { | ||||
|             alias /srv/http/public/well-known/$path; | ||||
|             default_type        "application/octet-stream"; | ||||
|             add_header          Access-Control-Allow-Origin * always; | ||||
|         } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tom Alexander
						Tom Alexander