Ngnix Tips

https://stackoverflow.com/questions/14491944/nginx-convert-subdomain-to-path-component-without-redirect
# abc.example.com
server {
  listen 80;
  server_name abc.example.com;
  location / {
    proxy_pass http://127.0.0.1/abc$request_uri;
    proxy_set_header Host example.com;
  }
}