301 redirects to incorrect domain

Never mind, a reload of the nginx reverse proxy config was missing this line;

proxy_set_header Host $http_host;

@fefrei; thanks for the very, very fast response anyway!