fix: nginx->elastic listens again to localhost to help dev debug container
adjust curl options to work on both dev and production machines