Every time I configure the nginx domain name, I have to add a
try_files $uri $uri/ /index.php?$query_string;
so that index.php can be hidden, but this code will be deleted every time I modify the configuration domain name.
沉睡の黑暗2017-09-25 12:08:36
After adding new things by yourself, do not use other tools to configure it. Every time you have to manually add the nginx configuration file to add a new domain name
Day2017-09-23 14:47:04
The domain name for configuring Nginx is written in a fixed way, otherwise it will be wrong. If you have special requirements, you can manually configure it yourself, but it is easy to make mistakes.