From 5a53748c568758aea65cfb3cd392fdab71ac8d20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Ku=C5=9B?= Date: Thu, 27 Nov 2025 17:14:27 +0100 Subject: [PATCH] plecianki.arti24.eu -> plecianki.pl --- .../https/plecianki.arti24.eu.proxy.conf | 29 ------------------- .../https/plecianki.arti24.eu.redirect.conf | 12 ++++++++ 2 files changed, 12 insertions(+), 29 deletions(-) delete mode 100644 nginx-config/https/plecianki.arti24.eu.proxy.conf create mode 100644 nginx-config/https/plecianki.arti24.eu.redirect.conf diff --git a/nginx-config/https/plecianki.arti24.eu.proxy.conf b/nginx-config/https/plecianki.arti24.eu.proxy.conf deleted file mode 100644 index 699b81e..0000000 --- a/nginx-config/https/plecianki.arti24.eu.proxy.conf +++ /dev/null @@ -1,29 +0,0 @@ -# Redirect z HTTPS na nową domenę kopama.com.pl -server { - listen 443 ssl; - server_name plecianki.arti24.eu; - - server_tokens off; - - ssl_certificate /letsencrypt/live/arti24.eu/fullchain.pem; - ssl_certificate_key /letsencrypt/live/arti24.eu/privkey.pem; - - ssl_protocols TLSv1.2 TLSv1.3; - ssl_ciphers HIGH:!aNULL:!MD5; - - location / { - - # Ograniczenie liczby żądań - limit_req zone=ip_limit burst=20 nodelay; - - proxy_pass http://arti24-container:3337; - - 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_set_header Host $host; - proxy_set_header X-Forwarded-Host $host; - proxy_set_header X-Forwarded-Port $server_port; - } - -} \ No newline at end of file diff --git a/nginx-config/https/plecianki.arti24.eu.redirect.conf b/nginx-config/https/plecianki.arti24.eu.redirect.conf new file mode 100644 index 0000000..cc68b01 --- /dev/null +++ b/nginx-config/https/plecianki.arti24.eu.redirect.conf @@ -0,0 +1,12 @@ +# Redirect z HTTPS na nową domenę kopama.com.pl +server { + listen 443 ssl; + server_name plecianki.arti24.eu; + + server_tokens off; + + ssl_certificate /letsencrypt/live/arti24.eu/fullchain.pem; + ssl_certificate_key /letsencrypt/live/arti24.eu/privkey.pem; + + # 🔥 Stałe przekierowanie 301 na nową domenę + return 301 https://plecianki.pl$request_uri;