server { listen 80; server_name A.com; location /{ proxy_pass https://B.com/asi/; } location ^~/web/ { proxy_pass https://B.com/web/; } }
server { listen 80; server_name A.com; location /{ proxy_pass https://B.com/asi/; } location ^~/web/ { proxy_pass https://B.com/web/; } }