From 9ac92c39cb287f517265a9066a041c6aca244a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Ku=C5=9B?= Date: Thu, 11 Sep 2025 20:43:08 +0200 Subject: [PATCH] new page PleciAnki.pl --- nginx-config/https/plecianiki.pl.conf | 29 ++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/nginx-config/https/plecianiki.pl.conf b/nginx-config/https/plecianiki.pl.conf index 33e8779..118f8d0 100644 --- a/nginx-config/https/plecianiki.pl.conf +++ b/nginx-config/https/plecianiki.pl.conf @@ -1,15 +1,30 @@ server { - listen 443 ssl; + + listen 443 ssl; server_name plecianki.pl; server_tokens off; ssl_certificate /letsencrypt/live/plecianki.pl/fullchain.pem; ssl_certificate_key /letsencrypt/live/plecianki.pl/privkey.pem; + + ssl_protocols TLSv1.2 TLSv1.3; + ssl_ciphers HIGH:!aNULL:!MD5; + + + location / { - ssl_protocols TLSv1.2 TLSv1.3; - ssl_ciphers HIGH:!aNULL:!MD5; - - return 301 https://www.facebook.com/PleciAnkiAlpakarnia/; - -} + # 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; + } + +} \ No newline at end of file