search

Home  >  Q&A  >  body text

nginx - port forwarding for automated deployment

I have a question, I hope the experts can answer it.
It is the automated deployment of some companies, one-click deployment of web applications, and random ports. I would like to ask how the front-end proxy server is dynamically mapped to these newly deployed random ports?

某草草某草草2825 days ago869

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-05-16 17:21:44

    "Automated deployment, one-click deployment of web applications, and random ports" Find a way to get this port from the output of the automated deployment tool, or modify the generation method of "anytime port".

    Nginx + lua can meet your requirements. See OpenResty’s documentation: http://openresty.org/

    reply
    0
  • Cancelreply