WordPress.org

Ready to get started?Download WordPress

Forums

NGINX Manager
question about the functionality (6 posts)

  1. Ovidiu
    Member
    Posted 3 years ago #

    I understand this is only for automatically emptying the cache, can you please add a link on how to set up a cache?
    what type of cache is this emptying?
    What is being cached anyway?

    I just moved to a new VPS server using nginx + PHP-fastcgi

    no caching set up yet, except for using the w3 total cache plugin.

    haven't set any expires headers either, still reading up on that matter.

    http://wordpress.org/extend/plugins/nginx-manager/

  2. rukbat
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Ovidiu and thanks for your interest in our plugin.

    You can find a Nginx Configuration example in the Overview submenu page in Nginx Manager plugin page.

    Hope this helps.

  3. Ovidiu
    Member
    Posted 2 years ago #

    ah, I see. I should be fine with those examples, except I am not sure what these lines are supposed to be/mean/do:

    proxy_pass http://ALL_backend;`

    and

    proxy_pass http://ALL_ADMIN_backend;

    what do I replace ALL_backend with? are those variables?

  4. Ovidiu
    Member
    Posted 2 years ago #

    oh and did Iread this right that all I need to replace in that example are:

    - YOUR_CACHE_NAME
    - /path/to/cache/your_cache

    and maybe the caching times/duration, I mean the rest are just set variables, right?

  5. Hpatoio
    Member
    Plugin Author

    Posted 2 years ago #

    proxy_pass http://ALL_backend;

    ALL_backend and ALL_ADMIN_backend are two variable that contains the addresses of all the backend and admin backend server.

    In our configuration we have something like

    upstream ALL_backend  {
      server 111.2.3.1:80;
      server 111.2.3.2:80;
      server 111.2.3.3:80;
      ...
      server 127.0.0.1:8080 backup;
    }
    upstream ALL_ADMIN_backend  {
      server 111.2.4.1:80;
      server 111.2.4.2:80;
      ...
      server 127.0.0.1:8080 backup;
    }

    About the things to change: the other values are about the cache duration etc. It's better you read NGINX wiki for details.

    ciao

  6. Ovidiu
    Member
    Posted 2 years ago #

    thanks for all that info, but I am wondering why the Nginx Configuration example in the Overview submenu page in Nginx Manager plugin page doesn't even mention the need to set up the backends as Hpatoio explained. I think that is valuable information.

    Btw. is there a specific need to have a separate proxy for ALL_backend and ALL_ADMIN_backend?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic