Fix nginx config for long domains