[redirects-web/proxy] Land reverse proxy vhosts for gnome.gr and br.gnome.org
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [redirects-web/proxy] Land reverse proxy vhosts for gnome.gr and br.gnome.org
- Date: Tue, 1 Feb 2022 15:09:10 +0000 (UTC)
commit 1f58b984cdec6265f400fe95597f91c1e73adeee
Author: Andrea Veri <averi redhat com>
Date: Tue Feb 1 16:09:00 2022 +0100
Land reverse proxy vhosts for gnome.gr and br.gnome.org
conf.d/br.gnome.org.conf | 12 ++++++++++++
conf.d/gnome.gr.conf | 12 ++++++++++++
2 files changed, 24 insertions(+)
---
diff --git a/conf.d/br.gnome.org.conf b/conf.d/br.gnome.org.conf
new file mode 100644
index 0000000..5fe6ea9
--- /dev/null
+++ b/conf.d/br.gnome.org.conf
@@ -0,0 +1,12 @@
+server {
+ listen 8080;
+ listen [::]:8080;
+ server_name br.gnome.org;
+
+ location / {
+ proxy_set_header Host infrastructure.pages.gitlab.gnome.org;
+ proxy_set_header X-Forwarded-Host "";
+ proxy_redirect //infrastructure.pages.gitlab.gnome.org/br-gnome-org/ https://br.gnome.org/;
+ proxy_pass https://infrastructure.pages.gitlab.gnome.org/br-gnome-org/;
+ }
+}
diff --git a/conf.d/gnome.gr.conf b/conf.d/gnome.gr.conf
new file mode 100644
index 0000000..f6c72d5
--- /dev/null
+++ b/conf.d/gnome.gr.conf
@@ -0,0 +1,12 @@
+server {
+ listen 8080;
+ listen [::]:8080;
+ server_name gnome.gr www.gnome.gr;
+
+ location / {
+ proxy_set_header Host infrastructure.pages.gitlab.gnome.org;
+ proxy_set_header X-Forwarded-Host "";
+ proxy_redirect //infrastructure.pages.gitlab.gnome.org/gnomegr-web/ https://www.gnome.gr/;
+ proxy_pass https://infrastructure.pages.gitlab.gnome.org/gnomegr-web/;
+ }
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]