From 9326ad7f9dd3ad29b5e09b439ffa4fa7a62bd5a8 Mon Sep 17 00:00:00 2001 From: Artur Date: Mon, 30 Dec 2024 11:50:47 +0100 Subject: [PATCH] Correct seting for bodypainter.eu and themself.eu --- nginx-config/https/https-bodypainter-eu.conf | 10 +++++----- nginx-config/https/https-themself-eu.conf | 14 +++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/nginx-config/https/https-bodypainter-eu.conf b/nginx-config/https/https-bodypainter-eu.conf index 64176ab..d551930 100644 --- a/nginx-config/https/https-bodypainter-eu.conf +++ b/nginx-config/https/https-bodypainter-eu.conf @@ -8,8 +8,8 @@ server { ssl_ciphers HIGH:!aNULL:!MD5; - ssl_certificate /letsencrypt/live/themself.eu/fullchain.pem; - ssl_certificate_key /letsencrypt/live/themself.eu/privkey.pem; + ssl_certificate /letsencrypt/live/bodypainter.eu/fullchain.pem; + ssl_certificate_key /letsencrypt/live/bodypainter.eu/privkey.pem; return 301 https://bodypainter.eu$request_uri; @@ -22,8 +22,8 @@ server { server_tokens off; - ssl_certificate /letsencrypt/live/themself.eu/fullchain.pem; - ssl_certificate_key /letsencrypt/live/themself.eu/privkey.pem; + ssl_certificate /letsencrypt/live/bodypainter.eu/fullchain.pem; + ssl_certificate_key /letsencrypt/live/bodypainter.eu/privkey.pem; ssl_protocols TLSv1.2 TLSv1.3; ssl_ciphers HIGH:!aNULL:!MD5; @@ -31,7 +31,7 @@ server { location / { - proxy_pass http://zaklik_by_node_js:3001; + proxy_pass http://zaklik_by_node_js:3000; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; diff --git a/nginx-config/https/https-themself-eu.conf b/nginx-config/https/https-themself-eu.conf index d551930..9ef5128 100644 --- a/nginx-config/https/https-themself-eu.conf +++ b/nginx-config/https/https-themself-eu.conf @@ -2,14 +2,14 @@ server { listen 443 ssl; - server_name www.bodypainter.eu; + server_name www.themself.eu; ssl_protocols TLSv1.2 TLSv1.3; ssl_ciphers HIGH:!aNULL:!MD5; - ssl_certificate /letsencrypt/live/bodypainter.eu/fullchain.pem; - ssl_certificate_key /letsencrypt/live/bodypainter.eu/privkey.pem; + ssl_certificate /letsencrypt/live/themself.eu/fullchain.pem; + ssl_certificate_key /letsencrypt/live/themself.eu/privkey.pem; return 301 https://bodypainter.eu$request_uri; @@ -18,12 +18,12 @@ server { server { listen 443 ssl; - server_name bodypainter.eu; + server_name themself.eu; server_tokens off; - ssl_certificate /letsencrypt/live/bodypainter.eu/fullchain.pem; - ssl_certificate_key /letsencrypt/live/bodypainter.eu/privkey.pem; + ssl_certificate /letsencrypt/live/themself.eu/fullchain.pem; + ssl_certificate_key /letsencrypt/live/themself.eu/privkey.pem; ssl_protocols TLSv1.2 TLSv1.3; ssl_ciphers HIGH:!aNULL:!MD5; @@ -31,7 +31,7 @@ server { location / { - proxy_pass http://zaklik_by_node_js:3000; + proxy_pass http://zaklik_by_node_js:3001; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;