worker_processes 5; error_log /var/log/error.nginx.log; events { worker_connections 4096; } http { server { index index.html index.htm; listen 80; location /api/product/ { proxy_pass NGINX_API_PROXY; proxy_set_header Host $host; } location / { proxy_pass NGINX_ROOT_PROXY; proxy_set_header Host $host; } } }