Server {st Listen 80;
Server_name www.linux.com;
Index index.html index.htm;
root/data0/htdocs/www;
local ttp: //192.168. 1.188:80;
The above introduces the simple configuration of nginx dynamic and static separation, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.