From 1d8f3dd422ca2455a5563e5b5a03a423674932e1 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 19 Aug 2023 12:58:39 -0700 Subject: [PATCH] Do not allow disabled folders into Git, 4. --- .../config/disabled/climate.hyperling.com | 19 +++++++++++++++++++ Config/ReverseProxy/config/disabled/mail | 8 ++++++++ .../config/disabled/mail.thesovereign.one | 10 ++++++++++ 3 files changed, 37 insertions(+) create mode 100644 Config/ReverseProxy/config/disabled/climate.hyperling.com create mode 100644 Config/ReverseProxy/config/disabled/mail create mode 100644 Config/ReverseProxy/config/disabled/mail.thesovereign.one diff --git a/Config/ReverseProxy/config/disabled/climate.hyperling.com b/Config/ReverseProxy/config/disabled/climate.hyperling.com new file mode 100644 index 0000000..93c11ae --- /dev/null +++ b/Config/ReverseProxy/config/disabled/climate.hyperling.com @@ -0,0 +1,19 @@ +# 20210202 C.Greenwood +# 20230111 - Change to hit WeatherSpark instead of using local grafana server. +# 20230819 - Removes SSL, copied from weather to climate, changed cities to all be in AZ. + +server { + listen 80; + server_name climate.hyperling.com; + location / { + return 301 http://weatherspark.com/compare/y/2636~2628~2874~2477~2857~2840/Comparison-of-the-Average-Weather-in-Flagstaff-Payson-Show-Low-Prescott-Tucson-and-Benson; + } +} + +server { + listen 443; + server_name climate.hyperling.com; + location / { + return 301 http://$host$request_uri; + } +} diff --git a/Config/ReverseProxy/config/disabled/mail b/Config/ReverseProxy/config/disabled/mail new file mode 100644 index 0000000..891e7f2 --- /dev/null +++ b/Config/ReverseProxy/config/disabled/mail @@ -0,0 +1,8 @@ + +server { + listen 25; + + if ($host = mail.thesovereign.one) { + proxy_pass thesovereign-mail; + } +} diff --git a/Config/ReverseProxy/config/disabled/mail.thesovereign.one b/Config/ReverseProxy/config/disabled/mail.thesovereign.one new file mode 100644 index 0000000..119ae50 --- /dev/null +++ b/Config/ReverseProxy/config/disabled/mail.thesovereign.one @@ -0,0 +1,10 @@ +# 2023-07-11 Hyperling +# Seeing if port forwarding allows listen and server_name directives and allows mail reverse proxy without auth server. + +server { + listen 25; + server_name mail.thesovereign.one; + + proxy_pass thesovereign-smtp; +} +