[redirects-web/proxy] Required to make letsencrypt work



commit fdc7237c9800ac5a4e841c3eb301635ce3d98daf
Author: Andrea Veri <averi redhat com>
Date:   Tue Jun 15 10:35:24 2021 +0200

    Required to make letsencrypt work

 conf.d/pitivi.org.conf | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/conf.d/pitivi.org.conf b/conf.d/pitivi.org.conf
index de513a0..bb26d7f 100644
--- a/conf.d/pitivi.org.conf
+++ b/conf.d/pitivi.org.conf
@@ -8,4 +8,8 @@ server {
         proxy_set_header X-Forwarded-Host "";
         proxy_pass https://infrastructure.pages.gitlab.gnome.org/pitivi-web/;
     }
+
+    location /.well-known/acme-challenge {
+        return 301 https://letsencrypt.gnome.org$request_uri;
+    }
 }


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