This commit is contained in:
Artur Kuś 2026-07-17 13:48:49 +02:00
parent 11950020da
commit e622ec4bd0
1 changed files with 9 additions and 1 deletions

View File

@ -21,8 +21,16 @@ server {
} }
# --- GŁÓWNY PROXY / Node.js --- # --- 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ń # Ograniczenie liczby żądań
limit_req zone=ip_limit burst=20 nodelay; limit_req zone=ip_limit burst=20 nodelay;