84669 personnes étudient
152542 personnes étudient
20005 personnes étudient
5487 personnes étudient
7821 personnes étudient
359900 personnes étudient
3350 personnes étudient
180660 personnes étudient
48569 personnes étudient
18603 personnes étudient
40936 personnes étudient
1549 personnes étudient
1183 personnes étudient
32909 personnes étudient
Le répertoire racine Web se trouve à root "/phpstudy/www/xxx";
root "/phpstudy/www/xxx";
Mais le répertoire statique du programme se trouve sur www/static
C'est-à-dire que domain/www/static/xxxx.jpg est accessible lors de la demande
Comment masquer www ?
闭关修行中......
Configuration
location /phpstudy/static/ { alias /usr/local/nginx/html/phpstudy/www/static/; }
Utilisez alias pour mapper un répertoire virtuel. alias映射一个虚拟目录即可。
alias
访问地址 http://[ip]/phpstudy/static/a.txt
http://[ip]/phpstudy/static/a.txt
Configuration
Utilisez
alias
pour mapper un répertoire virtuel.alias
映射一个虚拟目录即可。访问地址
Adresse d'accèshttp://[ip]/phpstudy/static/a.txt
http://[ip]/phpstudy/static/a.txt
🎜