From 21624f9471adfe3e46f144a0dcfc673cce72154d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Ku=C5=9B?= Date: Mon, 29 Sep 2025 09:37:20 +0200 Subject: [PATCH] order in nginx confs --- .../https/{arti24-eu.conf => arti24.eu.conf} | 0 ...themself-eu.conf => driving.themself.eu.conf} | 0 .../{kopama-com.pl.conf => kopama.com.pl.conf} | 0 ...-eu.conf => kopama.themself.eu-redirect.conf} | 0 nginx-config/https/kopana.com.pl-redirect.conf | 16 ++++++++++++++++ ...themself-eu.conf => massage.themself.eu.conf} | 0 6 files changed, 16 insertions(+) rename nginx-config/https/{arti24-eu.conf => arti24.eu.conf} (100%) rename nginx-config/https/{driving-themself-eu.conf => driving.themself.eu.conf} (100%) rename nginx-config/https/{kopama-com.pl.conf => kopama.com.pl.conf} (100%) rename nginx-config/https/{kopama-themself-eu.conf => kopama.themself.eu-redirect.conf} (100%) create mode 100644 nginx-config/https/kopana.com.pl-redirect.conf rename nginx-config/https/{massage-themself-eu.conf => massage.themself.eu.conf} (100%) diff --git a/nginx-config/https/arti24-eu.conf b/nginx-config/https/arti24.eu.conf similarity index 100% rename from nginx-config/https/arti24-eu.conf rename to nginx-config/https/arti24.eu.conf diff --git a/nginx-config/https/driving-themself-eu.conf b/nginx-config/https/driving.themself.eu.conf similarity index 100% rename from nginx-config/https/driving-themself-eu.conf rename to nginx-config/https/driving.themself.eu.conf diff --git a/nginx-config/https/kopama-com.pl.conf b/nginx-config/https/kopama.com.pl.conf similarity index 100% rename from nginx-config/https/kopama-com.pl.conf rename to nginx-config/https/kopama.com.pl.conf diff --git a/nginx-config/https/kopama-themself-eu.conf b/nginx-config/https/kopama.themself.eu-redirect.conf similarity index 100% rename from nginx-config/https/kopama-themself-eu.conf rename to nginx-config/https/kopama.themself.eu-redirect.conf diff --git a/nginx-config/https/kopana.com.pl-redirect.conf b/nginx-config/https/kopana.com.pl-redirect.conf new file mode 100644 index 0000000..bcd5eef --- /dev/null +++ b/nginx-config/https/kopana.com.pl-redirect.conf @@ -0,0 +1,16 @@ +# Redirect z HTTPS na nową domenę kopama.com.pl +server { + listen 443 ssl; + server_name kopana.com.pl www.kopana.com.pl; + + server_tokens off; + + ssl_certificate /letsencrypt/live/kopana.com.pl/fullchain.pem; + ssl_certificate_key /letsencrypt/live/kopana.com.pl/privkey.pem; + + ssl_protocols TLSv1.2 TLSv1.3; + ssl_ciphers HIGH:!aNULL:!MD5; + + # Permanent redirect z zachowaniem ścieżki + return 301 https://kopama.com.pl$request_uri; +} \ No newline at end of file diff --git a/nginx-config/https/massage-themself-eu.conf b/nginx-config/https/massage.themself.eu.conf similarity index 100% rename from nginx-config/https/massage-themself-eu.conf rename to nginx-config/https/massage.themself.eu.conf