84669 人学习
152542 人学习
20005 人学习
5487 人学习
7821 人学习
359900 人学习
3350 人学习
180660 人学习
48569 人学习
18603 人学习
40936 人学习
1549 人学习
1183 人学习
32909 人学习
一般修改配置改哪个的呢?我想改和php连接的配置
If you are coming from Apache, the "sites-available" and "sites-enabled" directories will be familiar. These directories are used to define configurations for your websites. Files are generally created in the "sites-available" directory, and then symbolically linked to the "sites-enabled" directory when they are ready to go live. ... In the "nginx.conf" file, we can see that the end of the "http" block has: include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*;
How To Configure Nginx
sites-available是存放当前的server配置, 在这里修改
sites-enabled是激活并使用的server配置(从sites_available的文件创建快捷方式到sites-enabled)
How To Configure Nginx
sites-available是存放当前的server配置, 在这里修改
sites-enabled是激活并使用的server配置(从sites_available的文件创建快捷方式到sites-enabled)