Rumah > Soal Jawab > teks badan
Yang manakah yang biasanya saya ubah apabila mengubah suai konfigurasi? Saya mahu menukar konfigurasi menyambung ke php
我想大声告诉你2017-06-10 09:51:31
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/*;
Cara Mengkonfigurasi Nginx
tersedia tapak menyimpan konfigurasi pelayan semasa, ubah suai di sini
didayakan tapak ialah konfigurasi pelayan yang diaktifkan dan digunakan (buat pintasan daripada fail tapak_tersedia kepada didayakan tapak)