change config to compress and serve static