Hacker News new | past | comments | ask | show | jobs | submit login

Put the proxy settings into variables and you can sidestep that. It also allows NgINX to start up when the backends may not be running.

e.g.

    set $upstream_app         backend;
    set $upstream_port        8888;
    set $upstream_proto       http;
    proxy_pass                $upstream_proto://$upstream_app:$upstream_port;





Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: