plecianki.arti24.eu -> plecianki.pl

This commit is contained in:
Artur Kuś 2025-11-27 17:14:27 +01:00
parent 537d68b9cd
commit 5a53748c56
2 changed files with 12 additions and 29 deletions

View File

@ -1,29 +0,0 @@
# Redirect z HTTPS na nową domenę kopama.com.pl
server {
listen 443 ssl;
server_name plecianki.arti24.eu;
server_tokens off;
ssl_certificate /letsencrypt/live/arti24.eu/fullchain.pem;
ssl_certificate_key /letsencrypt/live/arti24.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:3337;
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;
}
}

View File

@ -0,0 +1,12 @@
# Redirect z HTTPS na nową domenę kopama.com.pl
server {
listen 443 ssl;
server_name plecianki.arti24.eu;
server_tokens off;
ssl_certificate /letsencrypt/live/arti24.eu/fullchain.pem;
ssl_certificate_key /letsencrypt/live/arti24.eu/privkey.pem;
# 🔥 Stałe przekierowanie 301 na nową domenę
return 301 https://plecianki.pl$request_uri;