From a057a16cc7aef25fb18d9e24338952830119fb61 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 27 Jun 2022 23:57:35 -0400 Subject: [PATCH] configuration style fixes --- nginx/nginx.conf | 4 ++-- 1 file 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; }