fix statsd to work with nginx