Update the nginx config to use a single well-known location block.
This commit is contained in:
parent
d214244217
commit
1633099428
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user