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?
“自动化部署,一键部署web应用,并且随机端口” 想办法取到这个端口,从自动化部署的工具的输出中,或者修改 “随时端口” 的生成方式。
Nginx + lua 可以满足你的要求。可以参见 OpenResty 的文档:http://openresty.org/