From 3cc1f4e85e7dd24d1afb0abb261eea4d495a3579 Mon Sep 17 00:00:00 2001 From: mdwalters Date: Mon, 4 Mar 2024 22:02:38 +0000 Subject: [PATCH 1/2] Update mdwalters.conf --- mdwalters.conf | 58 +------------------------------------------------- 1 file changed, 1 insertion(+), 57 deletions(-) diff --git a/mdwalters.conf b/mdwalters.conf index d0d1bd1..f03014a 100644 --- a/mdwalters.conf +++ b/mdwalters.conf @@ -1,63 +1,7 @@ server { listen 443 ssl; listen [::]:443 ssl; - server_name meower.mdwalters.exozy.me; - - ssl_certificate /etc/letsencrypt/live/mdwalters.exozy.me/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/mdwalters.exozy.me/privkey.pem; - - location / { - proxy_pass http://localhost:5173; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - } -} - -server { - listen 443 ssl; - listen [::]:443 ssl; - server_name api.meower.mdwalters.exozy.me; - - ssl_certificate /etc/letsencrypt/live/mdwalters.exozy.me/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/mdwalters.exozy.me/privkey.pem; - - location / { - proxy_pass http://localhost:1342; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - } -} - -server { - listen 443 ssl; - listen [::]:443 ssl; - server_name wss.meower.mdwalters.exozy.me; - - ssl_certificate /etc/letsencrypt/live/mdwalters.exozy.me/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/mdwalters.exozy.me/privkey.pem; - - location / { - proxy_pass http://localhost:1341; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - - # Proxy WebSockets - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - } -} - -server { - listen 443 ssl; - listen [::]:443 ssl; - server_name git.mdwalters.exozy.me; + server_name git.max.is-probably.gay; ssl_certificate /etc/letsencrypt/live/mdwalters.exozy.me/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/mdwalters.exozy.me/privkey.pem; From 02e7c1ff992073f05ce853ab28ba9cb33d6e3af9 Mon Sep 17 00:00:00 2001 From: mdwalters Date: Mon, 4 Mar 2024 22:14:31 +0000 Subject: [PATCH 2/2] Update mdwalters.conf --- mdwalters.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mdwalters.conf b/mdwalters.conf index f03014a..7c4baee 100644 --- a/mdwalters.conf +++ b/mdwalters.conf @@ -3,8 +3,8 @@ server { listen [::]:443 ssl; server_name git.max.is-probably.gay; - ssl_certificate /etc/letsencrypt/live/mdwalters.exozy.me/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/mdwalters.exozy.me/privkey.pem; + ssl_certificate /etc/letsencrypt/live/max.is-probably.gay/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/max.is-probably.gay/privkey.pem; location / { proxy_pass http://localhost:1351;