Fix nginx domain redirection