WordPress php docker Serve Files from Domain Root in Wordpress Serving files without a folder in the path (i.e. www.domain.com/file.txt) can be tricky for a containerized installation of Wordpress, since the web root is not exposed as a volume. Custom 404 page to the rescue!