wkd: fix location of policy file
This commit is contained in:
parent
fa8e351efe
commit
c3f4881069
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue