From 797fc66f6b0072edfc0c6266ebc6329aac41efec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Ku=C5=9B?= Date: Sat, 22 Nov 2025 11:58:47 +0100 Subject: [PATCH] plecianki.pl --- .../{plecianki.pl-proxy.conf => plecianki.pl.conf} | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) rename nginx-config/https/{plecianki.pl-proxy.conf => plecianki.pl.conf} (80%) 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