Fix nginx configs for SSL