nginx Useful Redirects Redirect requests to another server


Example

server { 
   server_name example.com; 
   return 301 $scheme://example.net$request_uri;
}