wkd: fix location of policy file

This commit is contained in:
Vincent Breitmoser 2020-02-05 14:23:09 +01:00
parent fa8e351efe
commit c3f4881069
No known key found for this signature in database
GPG Key ID: 7BD18320DEADFA11
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ location /.well-known/openpgpkey {
try_files /keys/links/wkd/$1/$2/$3/$4 =404;
}
location = /.well-known/openpgpkey/policy {
location ~ "^/.well-known/openpgpkey/([^/]+)/policy$" {
default_type text/plain;
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Cache-Control' 'no-cache';