File upload. Rewrite nginx template and remove alerts