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