From 16330994287576ecdb7d905b217736e1a1e6aebd Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Tue, 2 Jan 2024 13:33:24 -0500 Subject: [PATCH] Update the nginx config to use a single well-known location block. --- docker/server/nginx.conf | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docker/server/nginx.conf b/docker/server/nginx.conf index 0227dfa..7071ad8 100644 --- a/docker/server/nginx.conf +++ b/docker/server/nginx.conf @@ -45,10 +45,7 @@ http { location /.well-known/ { alias /srv/http/public/well-known/; - default_type text/plain; - } - - location ~ /\.well-known/openpgpkey/[^/]+/hu/ { + # default_type text/plain; default_type "application/octet-stream"; add_header Access-Control-Allow-Origin * always; }