From a14174283e9db5ef44d3c517833f9c5b14977330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Ku=C5=9B?= Date: Wed, 13 Aug 2025 16:29:29 +0200 Subject: [PATCH] Redirect from driving.themself.eu -> kopama.themself.eu --- .../https/https-driving-themself-eu.conf | 26 +++++-------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/nginx-config/https/https-driving-themself-eu.conf b/nginx-config/https/https-driving-themself-eu.conf index 5b2380c..0d2cfa8 100644 --- a/nginx-config/https/https-driving-themself-eu.conf +++ b/nginx-config/https/https-driving-themself-eu.conf @@ -1,30 +1,16 @@ server { listen 443 ssl; + server_name driving.themself.eu; - server_tokens off; + ssl_protocols TLSv1.2 TLSv1.3; + + ssl_ciphers HIGH:!aNULL:!MD5; 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; - - - location / { - - # Ograniczenie liczby żądań - limit_req zone=ip_limit burst=20 nodelay; - - proxy_pass http://arti24-container:3335; - - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_set_header Host $host; - proxy_set_header X-Forwarded-Host $host; - proxy_set_header X-Forwarded-Port $server_port; - } - + return 301 https://kopama.themself.eu$request_uri; + } \ No newline at end of file