Answers for "nginx 301 redirect to another domain"

4

redirect nginx 301

server { 
listen 80; 
server_name serverdomain.com;
     return 301 http://serverdomain.com$request_uri; 
}
Posted by: Guest on April-30-2021

Code answers related to "nginx 301 redirect to another domain"

Browse Popular Code Answers by Language