remove legacy store
small nginx.sh improvement