Title: NGINX Support
Last modified: August 21, 2016

---

# NGINX Support

 *  [Ricky Lee Whittemore](https://wordpress.org/support/users/rickalee/)
 * (@rickalee)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/nginx-support-4/)
 * Appears to not support Nginx, have you tried WPEngine as a testing ground? Would
   love to use this plugin.
 * Thanks.
 * [https://wordpress.org/plugins/media-vault/](https://wordpress.org/plugins/media-vault/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Max GJ Panas](https://wordpress.org/support/users/max-gjp/)
 * (@max-gjp)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/nginx-support-4/#post-4607289)
 * Hey Ricky,
 * I have not tried WPEngine, why do you suggest it in particular?
 * Yeah, I am not an expert on nginx and so was hoping someone who was would translate
   Media Vault’s rewrite rules over to an nginx setup. In the Media Vault Activation
   Helper, that will appear if someone tries to enable Media Vault on an nginx setup,
   the Apache .htaccess rules are provided in case the user wants to try and convert
   them.
 * I’ll try and spin up an nginx server on my pc and set it up for testing.
 *  [Ricky Lee](https://wordpress.org/support/users/rickylee/)
 * (@rickylee)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/nginx-support-4/#post-4607322)
 * WPEngine has gained a lot of traction in community – sponsoring WordCamps, speaking
   at events, etc.
 * Many of the VIP Partners use them when not developing on WordPress.com VIP.
 * WPEngine is also in part financially backed by Automattic.
 *  Plugin Author [Max GJ Panas](https://wordpress.org/support/users/max-gjp/)
 * (@max-gjp)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/nginx-support-4/#post-4607324)
 * Hey Ricky Lee 2!
 * How would they particularly help with the issue at hand however?
 * Thanks.
 *  [Ricky Lee](https://wordpress.org/support/users/rickylee/)
 * (@rickylee)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/nginx-support-4/#post-4607325)
 * They are likely the #1 Nginx WordPress managed host. I would spin up a configuration
   there for testing.
 *  Plugin Author [Max GJ Panas](https://wordpress.org/support/users/max-gjp/)
 * (@max-gjp)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/nginx-support-4/#post-4607380)
 * Ok thanks ricky, I’ll consider it.
 * I will try and get back in a couple of days with a potential nginx solution. 
   In the mean time if you succeed in setting it up, let me know here.
 * Thanks
 *  [ColinInSpace](https://wordpress.org/support/users/colininspace/)
 * (@colininspace)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/nginx-support-4/#post-4607549)
 * *bump*
 * Any progress on this front? I tried to convert the .htaccess rules for Media 
   Vault into the syntax for nginx configuration instructions using this tool [http://winginx.com/en/htaccess](http://winginx.com/en/htaccess).
 *     ```
       # nginx configuration
       location /wp {
       rewrite ^/wp-content/uploads(/_mediavault/.*\.\w+)$ /index.php?mgjp_mv_file=$1 break;
       }
       location / {
       if ($query_string ~ "^(?:.*&)?mgjp_mv_download=safeforce(?:&.*)?$"){
       rewrite ^/wp-content/uploads(/.*\.\w+)$ /index.php?mgjp_mv_file=$1 break;
       }
       }
       ```
   
 * Alas no luck so far.
 *  [flymike](https://wordpress.org/support/users/flymike/)
 * (@flymike)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/nginx-support-4/#post-4607552)
 * 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
       ```
   
 *  [robwilkerson](https://wordpress.org/support/users/robwilkerson/)
 * (@robwilkerson)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/nginx-support-4/#post-4607569)
 * Would like to piggy-back on [@flymike](https://wordpress.org/support/users/flymike/)’
   s comment. In a dev environment, I used similar rules and jumped through some
   hoops to get things activated for validation, but I can’t jump through all of
   those same hoops in my production environment. The problem is that I can’t use
   the UI to enable the plugin because whatever conditions are tested fail in an
   Nginx-driven ecosystem.
 * How can we either bypass the validation or inspect the validation tests to see
   what we need to change?
 * Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘NGINX Support’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/media-vault_e6e2db.svg)
 * [Media Vault](https://wordpress.org/plugins/media-vault/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-vault/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-vault/)
 * [Active Topics](https://wordpress.org/support/plugin/media-vault/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-vault/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-vault/reviews/)

## Tags

 * [nginx](https://wordpress.org/support/topic-tag/nginx/)

 * 8 replies
 * 6 participants
 * Last reply from: [robwilkerson](https://wordpress.org/support/users/robwilkerson/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/nginx-support-4/#post-4607569)
 * Status: not resolved