nginx non www to www

server {
listen 80;
server_name linux4you.t;
return 301 http://www.linux4you.t$request_uri;
}

server {
listen 80;
server_name www.linux4you.tk;
}

Views All Time
Views All Time
301
Views Today
Views Today
1

Leave a Reply

Your email address will not be published. Required fields are marked *