added
port_in_redirect off;
server_name_in_redirect off;
in nginx base.conf.erb

Signed-off-by: Alban Creton <acreton@gmail.com>