Nginx redirection

demand

use 301 to redirect

Source address
http://explore.gac.one/aaa/bbb/ variable

destination address
http://explore.gac.one/-sharp/transaction/ variable

need to give a demonstration

Jul.14,2022

location ~* /aaa/bbb/(.*?) {
        return 301 /-sharp/transaction/$1;
 }

try


return 301 https://example.com$request_uri; 
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-1bc93bc-30976.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-1bc93bc-30976.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?