-
Notifications
You must be signed in to change notification settings - Fork 82
Home
Welcome to the WordPress-Nginx wiki!
I'm glad that you decided or are considering to run WordPress on Nginx. There are multiple ways to do so. Here are some examples...
- A simple Nginx => PHP-FPM stack
- Nginx => Apache stack
- Nginx => Varnish => Apache stack
- Varnish => Nginx => PHP-FPM stack
- Apache => Nginx => PHP-FPM stack
- Apache => Varnish => Nginx => PHP-FPM stack
- Varnish => Nginx / Apache stack
- Nginx => Memcached / PHP-FPM stack
- Nginx => Redis / PHP-FPM stack
The last three stacks requires a bit of explanation. Let me explain Varnish => Nginx / Apache stack. In this stack, Varnish acts as a caching layer as well as a router (that routes the requests depending on what's requested). Similarly, in other two stacks, the Memcached and Redis work as caching layer. So, here, Nginx works as a simple router, diverting the requests depending on whether the request is already in the cache.
I can go on and on. Each client come to me with a unique use-case and that requires unique solution. So, I always keep improving the wiki here. So, look for updates in the future here. As usual, your contribution, if any, is welcomed!