From fae4f50c3e7b2f1d0df0344c3cd82cfed13d0486 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Ku=C5=9B?= Date: Wed, 30 Jul 2025 21:21:28 +0200 Subject: [PATCH] adding driving.themself.eu --- .../https/https-driving-themself-eu.conf | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 nginx-config/https/https-driving-themself-eu.conf diff --git a/nginx-config/https/https-driving-themself-eu.conf b/nginx-config/https/https-driving-themself-eu.conf new file mode 100644 index 0000000..2fd43b6 --- /dev/null +++ b/nginx-config/https/https-driving-themself-eu.conf @@ -0,0 +1,30 @@ +server { + + listen 443 ssl; + server_name driving.themself.eu; + + server_tokens off; + + 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:3003; + + 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