[redirects-web/proxy] Add docs.gtk.org
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [redirects-web/proxy] Add docs.gtk.org
- Date: Fri, 19 Mar 2021 12:51:01 +0000 (UTC)
commit d76a9339d870d4e123b6868ee634ccca77a95d00
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Fri Mar 19 13:46:16 2021 +0100
Add docs.gtk.org
conf.d/docs.gtk.org.conf | 15 +++++++++++++++
1 file changed, 15 insertions(+)
---
diff --git a/conf.d/docs.gtk.org.conf b/conf.d/docs.gtk.org.conf
new file mode 100644
index 0000000..181ea67
--- /dev/null
+++ b/conf.d/docs.gtk.org.conf
@@ -0,0 +1,15 @@
+server {
+ listen 8080;
+ listen [::]:8080;
+ server_name docs.gtk.org;
+
+ location / {
+ proxy_set_header Host teams.pages.gitlab.gnome.org;
+ proxy_set_header X-Forwarded-Host "";
+ proxy_pass https://gnome.pages.gitlab.gnome.org/gtk/;
+ }
+
+ 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]