Viewing 1 replies (of 1 total)
  • Plugin Author Max GJ Panas

    (@max-gjp)

    Hey, I just wanted to say I am looking into it. I do not have an nginx setup to test on right now, but I will do my best.

    In the meantime if it helps, the .htaccess rewrite rules you will need to recreate, in addition to WordPress’s, in nginx are similar to the following (they may differ slightly depending on your set-up):

    This line sends all file requests in the Media Vault protected folder (currently hardcoded to: ‘_mediavault’) through WP so that the plugin can evaluate them.

    RewriteRule ^wp-content/uploads(/_mediavault/.*\.\w+)$ /?mgjp_mv_file=$1 [QSA,L]

    These two lines detect the ‘mgjp_mv_download=safeforce’ URL query parameter which is used to send file requests from within the wp uploads dir through a php script to force the browser to download the file.

    RewriteCond %{QUERY_STRING} ^(?:.*&)?mgjp_mv_download=safeforce(?:&.*)?$
    RewriteRule ^wp-content/uploads(.*\.\w+)$ /?mgjp_mv_file=$1 [QSA,L]

    Also if you want to have a look at the function which builds the .htaccess rules in Media Vault 0.8 here it is.

    I will try and get back to you with more as soon as possible.

Viewing 1 replies (of 1 total)
  • The topic ‘Multisite over NGINX configuration’ is closed to new replies.