static server middleware