может быть... сейчас?
This commit is contained in:
parent
4b5baf4272
commit
54e0f8d8f3
@ -9,7 +9,7 @@ http {
|
|||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
|
||||||
location /waiters/ {
|
location /waiters/ {
|
||||||
proxy_pass http://waiter_service:4000/;
|
proxy_pass http://waiter_service:4000/waiters/;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
@ -17,7 +17,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /restaurants/ {
|
location /restaurants/ {
|
||||||
proxy_pass http://restaurant_service:8080/;
|
proxy_pass http://restaurant_service:8080/api/restaurant;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
Loading…
Reference in New Issue
Block a user