I have a wordpress multisite setup. So I looked around and found the "correct" way to set up the location directive. Apparently this should work according to the nginx codex example (http://codex.wordpress.org/Nginx) location ~ ^/[_0-9a-zA-Z-]+/files/(.*)$ { try_files /wp-content/blogs.dir/$blogid/files/$2 /wp-includes/ms-files.php?file=$2 ; access_log off; log_not_fby Bhansson - How to...
![]() |
![]() |
![]() |
![]() |
|