O'Reilly logo

Nginx 1 Web Server Implementation Cookbook by Dipankar Sarkar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up a WordPress site with static file serving

WordPress is one of the world's leading blogging systems, and is pretty much the defacto standard today. It has a fairly easy setup with Apache2 and makes setting up of clean URLs pretty simple as well. However, with Nginx, (and PHP over fcgi) setting up WordPress with clean URLs requires some amount of work. My own blog is running on WordPress with Nginx!

Setting up a WordPress site with static file serving

How to do it...

Let's try to set up a complete WordPress blog using Nginx and PHP over fcgi. In this recipe, you will end up learning the various details around the WordPress and Nginx stack.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required