DAS_2024_1/emelyanov_artem_lab_3/nginx.conf

21 lines
409 B
Nginx Configuration File
Raw Permalink Normal View History

2024-10-12 16:45:56 +04:00
http {
server {
listen 80;
listen [::]:80;
server_name localhost;
# Прокси для ProductService
location /product/ {
proxy_pass http://product:8080;
}
# Прокси для PriceHistoryService
location /price-history/ {
proxy_pass http://price:8081;
}
}
}
events {
worker_connections 1024;
}