Nginx forwarding rule
server {
listen 80 ;
listen 443 ssl;
server_name oldserver.com;
ssl_certificate /var/www/oldserver.com/cert/server.crt;
ssl_certificate_key /var/www/oldserver.com/cert/server.key;
rewrite ^ $scheme://newserver.com$request_uri? permanent;
}