Answers for "nginx 301 redirect"

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

Browse Popular Code Answers by Language