It is implemented by reverse proxy. Here we use nginx as an example, The nginx configuration is as follows
server
{
listen 80;
server_name ipython.wang;
index index.php index.html index.htm default.php default.htm default.html;
root /www/wwwroot;
#Here is the secondary directory to rent. We will point it to the target address http://www.aiwanzhushou.com/wap/
location /fml/ {
#The following slash is a key. If there is no slash, the paymentServ will be passed to the backend node, resulting in 404
proxy_pass http://www.aiwanzhushou.com/wap/ ;
}
.........
}
After completing the above configuration and restarting nginx, you can point the secondary directory to the client's target server
Sample screenshot:
Support point server fee
The monthly bandwidth cost is a bit unbearable