废话不多说,直接上代码
listen 8001;
server_name localhost;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
root /home/project/xxxx/xxxx;
index index.html index.htm;
}
location /productionManage {
alias /home/project/xxxx/xxxx;
index index.html index.htm;
}
location /techManage {
alias /home/project/xxxx/xxxx;
index index.html index.htm;
}
location /systemModelManage {
alias /home/project/xxxx/xxxx;
index index.html index.htm;
}