summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nginx/nginx.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 3e9008c1..cd376b6b 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -158,7 +158,7 @@ http {
include snippets/security-headers.conf;
add_header Cross-Origin-Resource-Policy "same-origin" always;
- location ^~ /.well-known/acme-challenge/ {
+ location /.well-known/acme-challenge/ {
return 301 https://0.grapheneos.org$request_uri;
}
@@ -177,7 +177,7 @@ http {
include snippets/security-headers.conf;
add_header Cross-Origin-Resource-Policy "same-origin" always;
- location ^~ /.well-known/acme-challenge/ {
+ location /.well-known/acme-challenge/ {
return 301 https://0.grapheneos.org$request_uri;
}