hopefully fixed nginx.conf for ssl and http reverse proxy