From e2451c751086abf1c0814806a91e82c048b5eb82 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Tue, 2 Jan 2024 13:35:55 -0500 Subject: [PATCH] Separate out the locations in well-known again. --- docker/server/nginx.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/server/nginx.conf b/docker/server/nginx.conf index 7071ad8..953f48f 100644 --- a/docker/server/nginx.conf +++ b/docker/server/nginx.conf @@ -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/(?openpgpkey/[^/]+/hu/) { + alias /srv/http/public/well-known/$path; default_type "application/octet-stream"; add_header Access-Control-Allow-Origin * always; }