Fix SSL proxying in Nginx configuration