proxy-nginx/nginx-config/https/https-kopama-themself-eu.conf

16 lines
465 B
Plaintext

# Redirect z HTTPS na nową domenę kopama.com.pl
server {
listen 443 ssl;
server_name kopama.themself.eu;
server_tokens off;
ssl_certificate /letsencrypt/live/themself.eu/fullchain.pem;
ssl_certificate_key /letsencrypt/live/themself.eu/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;
}