I run a Multisite WP website with Caddy.
Images are physically located under the blogs.dir folder, in numbered folders from that correlating to each site’s blog-id#.
With Apache, these locations are rewritten via the .htaccess file and served up to the “new” location:
# uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
Does anyone now how to translate this Apache rewrite rule in a Caddyfile?
Thanks for your help.