Nginx (pronounced “engine-x”) is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server., licensed under a BSD-like license. It is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption. Nginx ...

learn more… | top users | synonyms

10
votes
4answers
2k views

Optimize apache for WP use

Greetings, I have a WP site with over than 150k pageviews /day. It's running on a Intel Core i5 CPU 760 @ 2.80GHz, with Centos and 4 GB of RAM. The problem is WP consumes too much RAM and after a ...
6
votes
1answer
951 views

nginx or cherokee ( +php-fpm ) for WordPress backend?

For years, I've been using apache2 with mod_php, but recently I migrated to nginx with php-fpm. Although it is a lot faster and more stable, I also took a look at cherokee, since both can handle ...
5
votes
1answer
546 views

WordPress Multisite, NGINX and WordPress Subdirectory Install

I'm attempting to set up WordPress skeleton (https://github.com/markjaquith/WordPress-Skeleton/) in a multisite configuration. WordPress skeleton already places WordPress in a subdirectory (wp by ...
4
votes
1answer
458 views

How do I add a server-independent external rewrite rule?

External rewrite rules are awesome. They let you define rewrites that don't necessarily pass through WordPress' index.php. This means you can map arbitrary rules to arbitrary files like: ...
3
votes
6answers
580 views

What issues would you face if you use Nginx

WordPress is quite a memory hog, and I've been thinking of using nginx rather than apache. The one major consideration before doing that is if there are any plugins which will stop working. I have ...
3
votes
2answers
338 views

In terms of performance - Is unmanaged VPS better then a managed one - for WP sites?

I am looking into optimizing my WP blogs, and one thing that comes out is that several of the most acclaimed solutions people are offering (Such as eaccelerator and Nginx), are only available if I had ...
3
votes
3answers
1k views

404 error on homepage when using Nginx proxying to Apache

I generally use Nginx to serve static content on my server, with Apache handling PHP content using PHP-FPM. However, I'm not able to get a Wordpress blog homepage to display and I've tried all the ...
3
votes
1answer
373 views

Fastest Server Config, Whats your suggestion?

If you were configuring a new VPS for a WP website that hasn't launched yet, What technologies would you choose? (website specs below) Website Targeting 50-60k hits /mo. and more The website is ...
2
votes
1answer
49 views

NGINX conf on WP Multisite enabled — subdirectory — images fail to load after updates

A server with nginx and WP 3.9.1 was working properly. The nginx helper plugin was updated two days ago and now no images or zip files in the uploads directory are available in the browser or the ...
2
votes
1answer
1k views

Setting 404 page in Nginx

I am using this page (http://wiki.nginx.org/WordPress) to setup my WordPress on a nginx/php-fpm server. Everything is okay, except the 404 page When I request www.example.com/foo, it send me the ...
2
votes
1answer
356 views

Does running Wordpress on Nginx do “squat” for its performance?

This article states: If you aren't already using a PHP opcode cache and WordPress caching plugin, nginx will do squat for your WordPress-based website's performance. Could someone elaborate ...
2
votes
1answer
1k views

Wordpress Installation for multi-domains with nginx and php-fpm

I am new to Wordpress. I googled around but could not find precise steps to install Wordpress with nginx multi-site configuration. I want to install wordpress 3.3.1 on Ubuntu 11.10. I already ...
2
votes
2answers
839 views

Configuring Routing Rules for WordPress+Nginx and WP-SuperCache?

How do you set up routing rules correctly with Nginx to support WP Super Cache for a WordPress (3.x) site?
2
votes
2answers
3k views

W3 Total Cache Minify Rewrite Error with Wordpress on nginx

I'm trying to get W3 Total Cache to rewrite URLs to minified files. I've tried every tutorial I could find but I don't seem to be able to get it right. I keep getting a W3 Total Cache error saying ...
2
votes
0answers
62 views

WordPress Multisite with multiple domains using Nginx

I'm growing grey hair here. I've tried so many things and yet I can't get a grasp on how to set this up. Found tons of guides but no one goes through all aspects, which are: A single WP Multisite ...
1
vote
2answers
425 views

PHP Code stuck in Cache [Memcached]

Been having a bit of a problem with my site regarding our caching method and my php code not refreshing or flushing. To start, my site is on a dedicated Nginx webserver. I used W3 Total Cache for ...
1
vote
1answer
110 views

Permalinks for custom taxonomy stopped to work

I'm not sure when this happened, I just noticed it. I have custom taxonomies and post types. For the longest time I was able to go to domain.com/taxonomy/term and it would display the posts related. ...
1
vote
2answers
330 views

Intermittently missing pages and posts in WordPress

Every now and then some of my Wordpress pages (and posts) seems to be missing, I get the 404 page (although the HTTP response code is 200). A couple of hours later the page is back, with no changes in ...
1
vote
3answers
521 views

How to run a subdirectory multisite install under a subdomain

I am on a VPS running Nginx as a backend server. I want to set up a sub-directory multisite WordPress installation, however I want all sub-sites to be under one sub-domain also. For example: My main ...
1
vote
1answer
215 views

Multisite WordPress nginx uploaded files throw 404

I have a WordPress subdomain multisite install in the /blog subdirectory running on an nginx server. Everything works fine except files which do upload correctly but are not accessible via their url. ...
1
vote
1answer
2k views

Nginx Rewrite Rule:: index.html added to every permalink

Been working for several hours on getting my WordPress site to run on a secondary VPS with Nginx. Home is loaded and W3T Cache is working OK, but the permalinks are still broken and each one of them ...
1
vote
1answer
559 views

Nginx + Redirection Plugin breaks Permalinks

I'm migrating from Apache to Nginx. Everything works great, except if I have the Redirection plugin enabled. In this case, I can't access any of the pages on my site with the exception of the home ...
1
vote
1answer
317 views

NGiNX + PHP5-fpm + CDN Tools (plugin) [closed]

I am trying to activate the CDN tools plugin and I keep getting the following error: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 30720 bytes) in ...
1
vote
1answer
4k views

Nginx WordPress Multisite Rewrite rules

I am having trouble with my rewrite rules with my new nginx install. If I access the image manually like here, ...
1
vote
0answers
43 views

Cache issues with redis and nginx

I have a problem with the rewrite rules in my nginx config file. I am running wordpress with nginx and redis to cache the site. I can get the redis to cache all pages not a problem, but as I am ...
1
vote
1answer
36 views

Nginx with Wordpress not showing template 404 for certain file types

I am using Nginx on Ubuntu to host a Wordpress site and everything is working great except certain file types return the Nginx 404 rather than the Wordpress template 404. For example: ...
1
vote
0answers
90 views

Wordpress and nginx, download some pages instead of serving them

Today i setup wordpress with nginx. The problem, i cant figure out, is that some pages will be served as expected and some other will be served as download. If i download them, the content is the sama ...
1
vote
2answers
188 views

Nginx rules for subdomain multisite install (Bedrock)

I'm trying to move an existing Bedrock based multisite instance to nginx and am having difficulty getting a set of nginx rules to mimic the original .htaccess. Bedrock places the crux of the files in ...
1
vote
1answer
326 views

Large Woocommerce Site (83,000 items), What Can I Do? [closed]

So I have a really large woocommerce site (partsboss.co) that has around 83,000 items. It's on VPS hosting with digitalocean, and things were running super fast until around 50,000 items. Now the ...
1
vote
0answers
89 views

Cache minified assets NGINX / fastcgi_cache [closed]

I tried using ngx_pagespeed but the cpu usage is too much for me. Now I need a minify tool that can do the best on my websites (all wordpress) and can work together with fastcgi_cache. Here is how it ...
1
vote
0answers
74 views

Buddypress & Nginx x configuration [closed]

I am interested in finding out if anyone would be kind enough to post a working BuddyPress and Nginx vhost file configuration. I have a tried a version that does not seem to work. Thank You
1
vote
0answers
44 views

Permanently modifying the W3 Total Cache's nginx.conf file

I want to have an add_header directive inside a location block of the nginx.conf (inside the document root) generated by W3 Total Cache like this # BEGIN W3TC Page Cache cache location ~ ...
1
vote
0answers
230 views

nginx varnish w3 total cache issues

I converted a few sites from Apache to nginx and it was running well for a while. I recently updated the nginx configuration regarding the new changes to W3 Total Cache rules. I also tried to clean ...
1
vote
0answers
179 views

Help with multisite redirect issues using Cherokee OR solid nginx config?

A little background: We've decided to abandon Apache because it can't keep up with the demand we're putting on it. We have a cron script that will create a new post about once every 3 or 4 seconds ...
1
vote
1answer
314 views

Mysterious HTTP 404 header in my own scripts

I have a WordPress 3.5.1 + nginx configuration. Its nginx configuration is this: server { root /mysite/public_html; server_name wp.mysite; location / { try_files $uri $uri/ ...
1
vote
1answer
171 views

A single category with a specific permalink structure differing from the standard set for the rest of the site

I'm interested to know if there's a method to specify a specific link structure for only a single category. Currently I have my install set to /2012/12/post-title. However there is a single category ...
1
vote
0answers
108 views

SSL via different domain & path with NGINX/PHP-FPM/WP

I am going to be hosting several WordPress blogs. They are all going to have their own domains. I want to handle their administrative functions via SSL but I do no want to buy an SSL certificate for ...
1
vote
0answers
141 views

My WordPress site always displays a cached version of its homepage

I have a WordPress site that runs fine, but there's a strange behaviour: one a reader loads the page, the site shows a "cached" version of the site, with the same news and comment numbers that the ...
1
vote
3answers
554 views

My WordPress site always displays a cached version of its homepage

First of all, sorry if I'm making a mistake. I already asked this on the ServerFault forum, but got no answers at the moment and I thought it would be a good idea to ask the question here, considering ...
0
votes
2answers
2k views

How to remove the index.php in the url?

I have installed wordpress in a subdirectory (blog). In the root directory I have installed Magento. Now the file directory is as following: app downloader includes media .... blog/wp-admin My ...
0
votes
3answers
230 views

Recommendation for server config for Wordpress Staging servers [closed]

I've won a sweet managed VPS hosting package with Anchor (VPS D), and I'm looking for recommendations on how to set up the server. Anchor will setup apache or nginx for me - but which should I ...
0
votes
2answers
2k views

W3Total Cache problem with Nginx

Hi I installed w3 total cache on my nginx powered site, I'm having errors however. For example when I enable page caching disk:enhanced I get: It appears Page Cache URL rewriting is not working. If ...
0
votes
1answer
2k views

Nginx rewrite rules

I am having some problems with the Nginx rewrite algorithm for WordPress. I am using this for the rewrite and it works good; server_name www.domain.com domain.com; if ($host != ...
0
votes
1answer
39 views

Limit file downloads to logged in users (WP + Nginx)

I am looking for a way to restrict access to mp3 files on my site to logged in users only. The approach listed here sounds pretty much like what I need: RewriteEngine On RewriteBase / RewriteCond ...
0
votes
1answer
103 views

get_posts ignoring 'category' and displaying all posts

I'm going a bit crazy on this one. I'm trying to display a list of posts in a category on an Admin page in a plugin I am writing. The following code works fine on my dev server (OS X/Apache): $args = ...
0
votes
3answers
5k views

Blog has an infinite redirect loop

Why is http://compassionpit.com/blog/ going through an infinite redirect loop? Here's my nginx conf file. The site is run by a nodejs server on port 8000 and Apache serves up the blog (wordpress) and ...
0
votes
1answer
56 views

How to debug failed changes to posts?

I just rebuilt my server with Ubuntu 14.04, Nginx 1.6.0, PHP 5.5.9 and Wordpress 3.9. I am able to complete the Wordpress install and login to the Wordpress dashboard, however, I can't make any ...
0
votes
1answer
516 views

Wordpress redirecting connections on port 8080 to 80

I have a wordpress blog which is served by apache2(on port 80) and nginx(on port 8080) on Ubuntu 12.04. Now whenever a client connects via port 80 all is hunky dory, but when a client connects to 8080 ...
0
votes
1answer
91 views

Ubuntu 12.04, Nginx and MySQL issue with Wordpress Database

Twice I installed a fresh LEMP Ubuntu 12.04 instalation on my server and started to build a wordpress site on my VPS following This tutorial. Now, for the second time, after a while I can't write do ...
0
votes
1answer
107 views

Enable Minify in W3Total Cache using NGINX

I am having an issue with enabling minify with the W3TC plugin. I am using a LEMP stack and cloudfront as a CDN, and all of these features, except for the minify work fine. In order to enable fancy ...