build fig.yml to support different www dirs