исправлен конфиг нджинкса

This commit is contained in:
mfnefd 2024-11-04 01:34:00 +04:00
parent 54157ec2bf
commit 27daaeb0aa

View File

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