Fix nginx config for https