Nginx convert subdomain to path component without redirect Nginx convert subdomain to path component without redirect nginx nginx

Nginx convert subdomain to path component without redirect


# abc.example.comserver {  listen 80;  server_name abc.example.com;  location / {    proxy_pass http://127.0.0.1/abc$request_uri;    proxy_set_header Host example.com;  }}