开发者

301 Redirect directly in HTML file with nginx

I wonder if 301 redirect is possible in an exclusively html static nginx server?

I know that normally it is not possible to make r开发者_如何转开发edirect work in html only. In apache server, it is possible to make redirect by using .htaccess. I wonder if there is a similar way of doing this in nginx too?


Have you tried this? I remember testing this quite a while back and it worked for me. Let me know if you are able to get it working or I'll test it on my end

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜