nginx.sh fix space handling