The nginx config below works – once MV is completely activated. But I can’t figure out what nginx config is needed to pass the MV test which enables the complete activation. I fooled MV into complete activation by running on Apache – then I switched to nginx.
If the author would fully describe the tests that are used to fully enable, then I will try to create the nginx config that satisfies them.
# Media Vault Rewrite Rules
# RewriteRule ^wp-content/uploads(/_mediavault/.*\.\w+)$ index.php?mgjp_mv_file=$1 [QSA,L]
rewrite ^/wp-content/uploads(/_mediavault/.*\.\w+)$ /index.php?mgjp_mv_file=$1 last;
# RewriteCond %{QUERY_STRING} ^(?:.*&)?mgjp_mv_download=safeforce(?:&.*)?$
# RewriteRule ^wp-content/uploads(/.*\.\w+)$ index.php?mgjp_mv_file=$1 [QSA,L]
if ($args ~* "^(?:.*&)?mgjp_mv_download=safeforce(?:&.*)?$")
{
rewrite ^/wp-content/uploads(/.*\.\w+)$ /index.php/?mgjp_mv_file=$1 last;
}
# Media Vault Rewrite Rules End