server {
listen 80;
server_name localhost 10.20.143.106;
index index.html index.htm;
location / {
ssi on;
ssi_silent_errors on;
index index.html index.htm;
root E:\project;
error_page 405 =200 http://$host$request_uri;
}
}
server {
listen 80;
server_name localhost 10.20.143.106;
index index.html index.htm;
location / {
ssi on;
ssi_silent_errors on;
index index.html index.htm;
root E:\project;
error_page 405 =200 http://$host$request_uri;
}
}
转载于:https://www.cnblogs.com/anyaran/p/5142147.html