From 54e0f8d8f32f16aa194ec694f48f31212f2f2b15 Mon Sep 17 00:00:00 2001 From: mfnefd Date: Sun, 3 Nov 2024 23:47:31 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BC=D0=BE=D0=B6=D0=B5=D1=82=20=D0=B1=D1=8B?= =?UTF-8?q?=D1=82=D1=8C...=20=D1=81=D0=B5=D0=B9=D1=87=D0=B0=D1=81=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- balakhonov_danila_lab_3/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/balakhonov_danila_lab_3/nginx.conf b/balakhonov_danila_lab_3/nginx.conf index 3595927..fcc13da 100644 --- a/balakhonov_danila_lab_3/nginx.conf +++ b/balakhonov_danila_lab_3/nginx.conf @@ -9,7 +9,7 @@ http { server_name localhost; location /waiters/ { - proxy_pass http://waiter_service:4000/; + proxy_pass http://waiter_service:4000/waiters/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Proto $scheme; @@ -17,7 +17,7 @@ http { } location /restaurants/ { - proxy_pass http://restaurant_service:8080/; + proxy_pass http://restaurant_service:8080/api/restaurant; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Proto $scheme;