nginx配置多个location
·
location / {
root /temp/test/_next/server/app/;
index index.html index.htm;
try_files $uri $uri.html $uri/ =404;
}
location /_next/ {
alias /temp/test/_next/;
index index.html index.htm;
try_files $uri $uri.html $uri/ =404;
}


更多推荐



所有评论(0)