84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
Which one should I usually change when modifying the configuration? I want to change the configuration of connecting to 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 stores the current server configuration, modify it here
sites-enabled is the server configuration that is activated and used (create a shortcut from the files of sites_available to sites-enabled)
How To Configure Nginx
sites-available stores the current server configuration, modify it here
sites-enabled is the server configuration that is activated and used (create a shortcut from the files of sites_available to sites-enabled)