proxy-nginx/nginx-config/https/kopama.com.pl-redirect.conf

11 lines
330 B
Plaintext

server {
listen 443 ssl;
server_name kopama.com.pl www.kopama.com.pl;
ssl_certificate /letsencrypt/live/kopama.com.pl/fullchain.pem;
ssl_certificate_key /letsencrypt/live/kopama.com.pl/privkey.pem;
# 🔥 Stałe przekierowanie 301 na nową domenę
return 301 https://kursy.kopama.pl$request_uri;
}