diff --git a/nginx-config/https/plecianki.pl-proxy.conf b/nginx-config/https/plecianki.pl.conf similarity index 80% rename from nginx-config/https/plecianki.pl-proxy.conf rename to nginx-config/https/plecianki.pl.conf index 4bcb4b1..d835cb8 100644 --- a/nginx-config/https/plecianki.pl-proxy.conf +++ b/nginx-config/https/plecianki.pl.conf @@ -11,13 +11,15 @@ server { ssl_protocols TLSv1.2 TLSv1.3; ssl_ciphers HIGH:!aNULL:!MD5; - location / { + 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:3131; - # 🔹 Doocelowa domena - proxy_set_header x-redirect-url https://www.facebook.com/PleciAnkiAlpakarnia; + 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; @@ -25,5 +27,5 @@ server { proxy_set_header Host $host; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Port $server_port; - } + } } \ No newline at end of file