Jump www.xxx.com/mobile/b to m.xxx.com/b under nginx

under nginx, jump the https://www.xxx.com/mobile/b style to the https://m.xxx.com/b style, and ask the master for advice on how to set it, and where to set it. Thank you

Mar.07,2022

server {
    listen 443;
    
    server_name www.xxx.com;
    rewrite ^/mobile/(.*) https://m.xxx.com/$1 permanent;
}
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-1e5ada8-455f9.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-1e5ada8-455f9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?