Update nginx.conf

shorter version of nginx.conf. the elasticsearch server has to be changed only in the upstream section.