From 96ac603a612de056f656af2b1b83b44d39ea01ea Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 19 Aug 2023 12:47:44 -0700 Subject: [PATCH] Do not allow disabled folders into Git. --- .gitignore | 3 +++ .../config/disabled/climate.hyperling.com | 19 +++++++++++++++++++ Config/ReverseProxy/config/disabled/mail | 8 ++++++++ .../config/disabled/mail.thesovereign.one | 10 ++++++++++ 4 files changed, 40 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/.gitignore b/.gitignore index 7ab2c18..b82671b 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,6 @@ Config/Invidious/*.env # Ignore DNS config files, contain private settings. Config/DNS/config/* + +# Ignore anything in disabled folders. +*/disabled/* 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; +} +