Because of my carelessness, I put http://www.domain.com:8080/xxx/index.html on the internet. I don't want to lose that traffic, so i want to permanent redirect that url to
Can nginx achieve this?
rewrite ^ http://www.domain.com permanent;
Should do it.
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
5 years ago
11 months ago