Separate out the locations in well-known again.
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:35:55 -05:00
parent 1633099428
commit e2451c7510
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

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