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