Update the nginx config to use a single well-known location block.
All checks were successful
semver Build semver has succeeded
build-homepage-staging Build build-homepage-staging has succeeded
build-homepage Build build-homepage has succeeded

This commit is contained in:
Tom Alexander 2024-01-02 13:33:24 -05:00
parent d214244217
commit 1633099428
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -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;
}