работай!!!!!!!!

This commit is contained in:
mfnefd 2024-11-03 22:31:00 +04:00
parent 97c7b71067
commit 8f2a9c126c
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ services:
environment: environment:
WAITER_API_URL: http://waiter-service:4000 WAITER_API_URL: http://waiter-service:4000
expose: expose:
- 5089 - 8080
depends_on: depends_on:
- waiter-service - waiter-service

View File

@ -17,7 +17,7 @@ http {
} }
location /restaurants/ { location /restaurants/ {
proxy_pass http://restaurant-service:5089/; proxy_pass http://restaurant-service:8080/;
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;