events { worker_connections 1024; } http { upstream product-service { server product-service:8080; } upstream order-service { server order-service:8081; } server { listen 80; listen [::]:80; server_name localhost; location /product-service/ { proxy_pass http://product-service/; } location /order-service/ { proxy_pass http://order-service/; } } }