Domain name binding: www.chipmunk.com
ip:99.100.99.100
Engineering project: chipmunk (in the root directory of linux /project/chipmunk)
linux
nginx的nginx.conf
server { listen 80; server_name localhost; location / { #root html; #index index.html index.htm; proxy_pass http://127.0.0.1:8080/; } }
tomcat-like server.xml
<Host name="localhost" appBase="/project/chipmunk" unpackWARs="true" autoDeploy="true"> <Context path="" docBase="" reloadable="false"/>