Nginx Redirect Rule

server {
        #implemented by default, change if you need different ip or port
        #listen *:80 | *:8000;
        server_name test.com;
        return 301 $scheme://icy.asia$request_uri;
}

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.