Restore proxy_pass http://arti-angular-app:4200;
This commit is contained in:
parent
84362d0d72
commit
1c33fe5d59
|
|
@ -12,12 +12,17 @@ server {
|
||||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||||
|
|
||||||
|
|
||||||
|
location /angular{
|
||||||
|
rewrite ^/angular(.*)$ https://angular.arti24.eu/$1 redirect;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|
||||||
# Ograniczenie liczby żądań
|
# Ograniczenie liczby żądań
|
||||||
limit_req zone=ip_limit burst=20 nodelay;
|
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-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
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-Host $host;
|
||||||
proxy_set_header X-Forwarded-Port $server_port;
|
proxy_set_header X-Forwarded-Port $server_port;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue