fix nginx proxy path

main
Nikita Tokarchuk 5 years ago
parent 14dd051a47
commit c7ac2f86a8
  1. 2
      deploy/task1/default.conf
  2. 2
      deploy/task2/default.conf

@ -34,7 +34,7 @@ server {
root /usr/share/nginx/html; root /usr/share/nginx/html;
} }
location = /answer { location = /answer/check {
proxy_pass http://backend1; proxy_pass http://backend1;
} }
} }

@ -34,7 +34,7 @@ server {
root /usr/share/nginx/html; root /usr/share/nginx/html;
} }
location = /answer { location = /answer/check {
proxy_pass http://backend2; proxy_pass http://backend2;
} }
} }
Loading…
Cancel
Save