summaryrefslogtreecommitdiff
path: root/nginx
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2022-06-27 23:57:35 -0400
committerDaniel Micay <danielmicay@gmail.com>2022-06-27 23:57:35 -0400
commita057a16cc7aef25fb18d9e24338952830119fb61 (patch)
treefc54eadf7359590a624b5a9e70850f529cc5b292 /nginx
parent588f25e41cb80fb381704ff9dd4ebaf04fb6b6e0 (diff)
configuration style fixes
Diffstat (limited to 'nginx')
-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;
}