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