Want to subscribe to topics you're interested in?
Become a Member

FastCGI_Cache using multiple WordPress single sites

Discussion in 'Blogs & CMS usage' started by Peter Downey, Jul 21, 2014.

Tags:
  1. Peter Downey

    Peter Downey Member

    64
    24
    8
    May 28, 2014
    Ratings:
    +27
    Local Time:
    10:20 AM
    Hey, I decided to pick up a new VPS from RamNode (using your http://centminmod.com/ramnode link, incase it was a referral link) to try to learn more and mess around with different configs.


    I wanted to try out the FastCGI_Cache config that you listed here (http://centminmod.com/nginx_configure_wordpress.html). I was wondering if it would work out of the box with multiple wordpress single sites, or if I'd need to somehow define different cache paths for each new domain. I'd prefer to not install them as a multisite if possible.
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,106
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    1:20 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    do you mean different domains or different subdomains ?

    i.e.

    wpdomain1.com
    wpdomain2.com

    or

    wpdomain.com/wp1
    wpdomain.com/wp2

    For the first it's just separate Nginx vhost and separate fastcgi path and cache zone names.

    For the latter the same as first just would be off separate location contexts /wp1 and /wp2

    But haven't done this myself so not 100% sure
     
  3. Peter Downey

    Peter Downey Member

    64
    24
    8
    May 28, 2014
    Ratings:
    +27
    Local Time:
    10:20 AM
    Sorry, I mean different domains.
    wpdomain1.com
    wpdomain2.com

    Thanks for pointing me in the right direction. I've since been doing some reading trying to get it all working.