Coder Social home page Coder Social logo

nginxfastcgicachepurger's People

Contributors

icodus avatar jeffcleverley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nginxfastcgicachepurger's Issues

nginx: [emerg] invalid parameter "purge_all"

When I try to save:

location ~ /purgeall {
fastcgi_pass localhost:8001;
fastcgi_cache xyz.com;
fastcgi_cache_key $uri$is_args$args;
fastcgi_cache_purge PURGE purge_all from 127.0.0.1;
}

Failed to save configuration file : Configuration is invalid : nginx: [emerg] invalid parameter "purge_all", expected "from" keyword in /etc/nginx/sites-enabled/xyz.com.conf:49 nginx: configuration file /etc/nginx/nginx.conf test failed

nginx version: nginx/1.14.1

Has anyone had the same issue?

Fatal Error upon activating the plugin with Bedrock WordPress stacks

Upon activation, I got Fatal Error notification from WordPress plugin dashboard:

Fatal error: Uncaught Error: Call to undefined function Nginx_FastCGI_Cache_Purger() in .../web/app/plugins/NginxFastCGICachePurger-master/src/class-nfcp.php:57 Stack trace: 
#0 .../web/app/plugins/NginxFastCGICachePurger-master/nginx-fastcgi-cache-purger.php(68): require() 
#1 .../web/app/plugins/NginxFastCGICachePurger-master/nginx-fastcgi-cache-purger.php(80): autoload_files() 
#2 .../web/app/plugins/NginxFastCGICachePurger-master/nginx-fastcgi-cache-purger.php(82): launch() 
#3 .../web/wp/wp-admin/includes/plugin.php(1897): include('/home/runcloud/...') 
#4 .../web/wp/wp-admin/plugins.php(178): plugin_sandbox_scrape('NginxFastCGICac...') 
#5 {main} thrown in .../web/app/plugins/NginxFastCGICachePurger-master/src/class-nfcp.php on line 57

add_action( 'plugins_loaded', array( Nginx_FastCGI_Cache_Purger(), 'init' ) );

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.