Compare commits

...

1 Commits

Author SHA1 Message Date
Tom Alexander
1633099428 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
2024-01-02 13:33:24 -05:00

View File

@@ -45,10 +45,7 @@ http {
location /.well-known/ { location /.well-known/ {
alias /srv/http/public/well-known/; alias /srv/http/public/well-known/;
default_type text/plain; # default_type text/plain;
}
location ~ /\.well-known/openpgpkey/[^/]+/hu/ {
default_type "application/octet-stream"; default_type "application/octet-stream";
add_header Access-Control-Allow-Origin * always; add_header Access-Control-Allow-Origin * always;
} }