[redirects-web/proxy] Missing LE redirect



commit d874f36462e15b01c5c54d917b902d120557e44b
Author: Andrea Veri <averi redhat com>
Date:   Mon Mar 28 23:12:41 2022 +0200

    Missing LE redirect

 conf.d/libsoup.org.conf | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/conf.d/libsoup.org.conf b/conf.d/libsoup.org.conf
index be48269..db87665 100644
--- a/conf.d/libsoup.org.conf
+++ b/conf.d/libsoup.org.conf
@@ -6,6 +6,11 @@ server {
     location / {
         proxy_set_header Host gnome.pages.gitlab.gnome.org;
         proxy_set_header X-Forwarded-Host "";
+        proxy_redirect //gnome.pages.gitlab.gnome.org/libsoup/ https://www.libsoup.org/;
         proxy_pass https://gnome.pages.gitlab.gnome.org:443/libsoup/;
     }
+
+    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]