The nginx configuration path points to an external chain

what I want to achieve is:

add a path to the nginx, for example: / test, and then point to http://www.baidu.com. Note: it is not a redirection

.

phenomena after configuration

browser visit: http://myhost/test, what you see in the browser is the content of baidu

Thank you!

May.05,2021

location /test/ {
    proxy_pass http://www.baidu.com/;
}

this is called reverse proxy . For more settings, you can search

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf7a81-320b6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf7a81-320b6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?