Title: Multisite Compatible
Last modified: October 7, 2018

---

# Multisite Compatible

 *  [Kalman Labovitz](https://wordpress.org/support/users/ffemtkl/)
 * (@ffemtkl)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/multisite-compatible-144/)
 * Does this plugin support Multisite/Network? Does each site need to setup the 
   nginx snipe settings? Or are the settings in the superAdmin (Network) panel?
 * Thanks!!

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

 *  Plugin Contributor [robertchen617](https://wordpress.org/support/users/robertchen617/)
 * (@robertchen617)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/multisite-compatible-144/#post-10760462)
 * Hi [@ffemtkl](https://wordpress.org/support/users/ffemtkl/),
 * To set up multisite with FastCGI Cache, one site will be configured like this:
 *     ```
       fastcgi_cache_path /var/lib/nginx/siteone levels=1:2 keys_zone=SITEONE:1440m;
   
       server {
           location ~ \.php$ {
               fastcgi_cache SITEONE;
           }
       }
       ```
   
 * and the second site like this:
 *     ```
       fastcgi_cache_path /var/lib/nginx/sitetwo levels=1:2 keys_zone=SITETWO:1440m;
   
       server {
           location ~ \.php$ {
               fastcgi_cache SITETWO;
           }
       }
       ```
   
 * Within the plugin settings for site one, make sure the `CachePath` is set to `/
   var/lib/nginx/siteone`
 * Likewise for site two, set the `CachePath` to `/var/lib/nginx/sitetwo`
 * Hope this helps.
    -  This reply was modified 7 years, 7 months ago by [robertchen617](https://wordpress.org/support/users/robertchen617/).
      Reason: formatting code block
 *  Thread Starter [Kalman Labovitz](https://wordpress.org/support/users/ffemtkl/)
 * (@ffemtkl)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/multisite-compatible-144/#post-10764729)
 * Thanks for pointing that out!
 * If you are scaling out with many new sites it is not very scalable with the above
   method.
 * I was looking for something in the network menu where you only have one `/var/
   lib/nginx/` folder and have all site store cache there.
 * Any ideas?
    -  This reply was modified 7 years, 7 months ago by [Kalman Labovitz](https://wordpress.org/support/users/ffemtkl/).
 *  Plugin Contributor [robertchen617](https://wordpress.org/support/users/robertchen617/)
 * (@robertchen617)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/multisite-compatible-144/#post-10765107)
 * Unfortunately, we haven’t really tested this plugin with multisite (that is, 
   where multiple sites are using the same WordPress core).
 * Are you currently using FastCGI cache with your current set up? If so, are you
   able to separate each site’s cache files into their own folders?
 * Thanks,
    Robert
 *  Thread Starter [Kalman Labovitz](https://wordpress.org/support/users/ffemtkl/)
 * (@ffemtkl)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/multisite-compatible-144/#post-10772672)
 * I am using FastCGI currently but storing all the sites in subfolders based on
   the MD5 hash. Meaning ‘e3i445873845’ would be under /e/ and so forth. I am currently
   trying to figure out how I can store it more organized so it is by site.
 *  Plugin Contributor [robertchen617](https://wordpress.org/support/users/robertchen617/)
 * (@robertchen617)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/multisite-compatible-144/#post-10775009)
 * Yeah, the MD5 hash levels 1:2 (i.e. /e/3i/e3i445873845) makes it really hard 
   to keep sites separate.
 * It might be easier to just have a separate Nginx virtual host conf for each website(
   regardless of whether you’re using multisite or multiple site WordPress). That
   way, you can leverage the `keys_zone` to separate each website into different
   folder paths.
 * If there’s another way of doing this, I’m not aware of it.

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

The topic ‘Multisite Compatible’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/snipe-nginx-cache.svg)
 * [Cache Sniper for Nginx](https://wordpress.org/plugins/snipe-nginx-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/snipe-nginx-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/snipe-nginx-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/snipe-nginx-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/snipe-nginx-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/snipe-nginx-cache/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [robertchen617](https://wordpress.org/support/users/robertchen617/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/multisite-compatible-144/#post-10775009)
 * Status: not resolved