From 60829fb6c5ab10927fdeba2a95dbf1ab8166557c Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 1 Feb 2025 09:36:35 +0200 Subject: [PATCH] web proxy: Temporary workaround for ns1 being offline. --- .../host01/conf.d/library.shore.co.il.conf | 25 ++++++++++++++++++ .../conf.d/transmission.shore.co.il.conf | 26 +++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 Compose/web-proxy/host01/conf.d/library.shore.co.il.conf create mode 100644 Compose/web-proxy/host01/conf.d/transmission.shore.co.il.conf diff --git a/Compose/web-proxy/host01/conf.d/library.shore.co.il.conf b/Compose/web-proxy/host01/conf.d/library.shore.co.il.conf new file mode 100644 index 0000000..62e1dd5 --- /dev/null +++ b/Compose/web-proxy/host01/conf.d/library.shore.co.il.conf @@ -0,0 +1,25 @@ +# vim: ft=nginx +server { + listen 80; + listen [::]:80; + server_name library.shore.co.il; + + location / { + proxy_pass http://192.168.3.12$request_uri; + proxy_http_version 1.1; + include snippets/proxy-headers.conf; + } +} + +server { + listen 443 ssl; + listen [::]:443 ssl; + http2 on; + server_name library.shore.co.il; + + location / { + proxy_pass https://192.168.3.12$request_uri; + proxy_http_version 1.1; + include snippets/proxy-headers.conf; + } +} diff --git a/Compose/web-proxy/host01/conf.d/transmission.shore.co.il.conf b/Compose/web-proxy/host01/conf.d/transmission.shore.co.il.conf new file mode 100644 index 0000000..ceb0035 --- /dev/null +++ b/Compose/web-proxy/host01/conf.d/transmission.shore.co.il.conf @@ -0,0 +1,26 @@ +# vim: ft=nginx + +server { + listen 80; + listen [::]:80; + server_name transmission.shore.co.il; + + location / { + proxy_pass http://192.168.3.12$request_uri; + proxy_http_version 1.1; + include snippets/proxy-headers.conf; + } +} + +server { + listen 443 ssl; + listen [::]:443 ssl; + http2 on; + server_name transmission.shore.co.il; + + location / { + proxy_pass https://192.168.3.12$request_uri; + proxy_http_version 1.1; + include snippets/proxy-headers.conf; + } +} -- GitLab