changed nginx config, hopefully it will work

hopefully this fixes working with amazon