add public directory for http server