[wgo2-web/oscp] Handle LE rewrite rules



commit 39c30ac0ac2c699efaf412241dc1556ca7c39acc
Author: Andrea Veri <averi redhat com>
Date:   Mon Jan 31 21:29:08 2022 +0100

    Handle LE rewrite rules

 nginx.conf | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/nginx.conf b/nginx.conf
index ef14b16..0965566 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -196,6 +196,10 @@ http {
             return 301 https://foundation.gnome.org/$1;
         }
 
+        location ~ ^/.well-known/acme-challenge {
+            return 301 https://letsencrypt.gnome.org$uri; 
+        }
+
         location /civicrm/ {
             return 301 https://www.gnome.org/civicrm/wp-admin;
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]