location / {
root /home/;
try_files $uri $uri/ /index.html =404;
error_page 405 域名/$request_uri;
}
nginx 405错误后 用get重定向
最新推荐文章于 2023-08-28 16:57:22 发布
location / {
root /home/;
try_files $uri $uri/ /index.html =404;
error_page 405 域名/$request_uri;
}