To log some useful Nginx Server Configurations.
Rewrite
Between Webstites
301
= permanent;302
= temporary
$scheme
is used to define the protocol (HTTP or HTTPS)
$request_uri
enable redirct for the full url path.
e.g.: www.old.com/path/ -> www.new.com/path/