The lnmp one-click installation package I used made a 301 jump according to the built-in requirements of the program. The current situation is that XX.COM access is normal, and WWW.XX.COM access jumps to the location
The address is: XX.COM/index.php. I want to access WWW.XX.COM and jump to XX.COM. No index.php suffix?
Go to aaa.net www.aaa.net aaa.com to www.aaa.com
server {