Hi!
Prompt please how to prescribe location ~* \.(png|jpg|gif)$ {} for return statics, provided that the domains are created subfolders
Offered in Internet options do not work and most of them are designed for subdomains
If it can be an example of a working config:)
p.s. If it is important: the main blog is on the way http://domain.ltd/club/
Alex
The problem is that the appeal to the files is given a folder of the domain for example: htop://domain.ltd/club/Phils/blogs.dir/x/yyy.png
In the web server logs (Nginx) error message 404
Used ligament Nginx + Apache, actually want to keep static processing Nginx'th
No one has used such a bunch? ..
Give us a chance to respond? :)
This is what we use:
http://premium.wpmudev.org/forums/topic/nginx-rewrite-rules-with-wpmu-wp-super-cache-bbpress-and-sitemaps
I don;t see mention of the image files. I;ve got screaming kids in my ears so I may just be missing them.
Not work for subfolders :(
blogs.php?$file=$1 return domain.ltd/folder-name/files/.. ! need: domain.ltd/blog.dir/1/files/