diff --git a/nginx-config/https/arti24.eu.conf b/nginx-config/https/arti24.eu.conf index 54f52f2..d58b1a8 100755 --- a/nginx-config/https/arti24.eu.conf +++ b/nginx-config/https/arti24.eu.conf @@ -21,8 +21,16 @@ server { } # --- GŁÓWNY PROXY / Node.js --- + location /api/ { + proxy_pass http://arti24-container:3456/api/; - location / { + 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; + } + + location / { # Ograniczenie liczby żądań limit_req zone=ip_limit burst=20 nodelay;