order in nginx confs

This commit is contained in:
Artur Kuś 2025-09-29 09:37:20 +02:00
parent 0c62698e52
commit 21624f9471
6 changed files with 16 additions and 0 deletions

View File

@ -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;
}