This commit is contained in:
Artur 2025-01-16 18:16:03 +01:00
parent 84362d0d72
commit 1c33fe5d59
2 changed files with 20 additions and 12 deletions

View File

@ -12,12 +12,17 @@ server {
ssl_ciphers HIGH:!aNULL:!MD5;
location /angular{
rewrite ^/angular(.*)$ https://angular.arti24.eu/$1 redirect;
}
location / {
# Ograniczenie liczby żądań
limit_req zone=ip_limit burst=20 nodelay;
proxy_pass http://zaklik_by_node_js:3002;
proxy_pass http://arti-angular-app:4200;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@ -26,5 +31,8 @@ server {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
}
}
}