阅读背景:

如何使用Docker在一台服务器上的默认端口上运行各种Web服务器?

来源:互联网 

My goal is to have web servers that work on the default port so users don't have to type in a port #. Easy to do with LAMP stack, where A is apache... and no other web server exists. However, if I purchase general purpose hosting with Centos and I want to run 1) Gunicorn/NGINX for Python/Django -> access from example.com from outside (no port required to be entered by the web browser. 2) Spring framework in a Java EE container - Java EE defaults to port 8080 and other ports in that range but people just enter a domain name and expect it to work. -> So reachable from example2.com 3) Node.js - Reachable from example3.com 4) PHP apps such as WordPress, Drupal on LAMP - example3.comMy goal is to have web servers that work on the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: