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

1
vote
0answers
126 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
149 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
5
votes
1answer
736 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 ...
1
vote
1answer
375 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. ...
0
votes
1answer
208 views

WordPress on Nginx - Missing admin/toolbar

Hi I've been trying to figure this out for quite some time now, but whatever I do nothing seem to work. I have a VPS setup running Nginx + Varnish with WordPress multisite. Everything works fine ...
0
votes
1answer
395 views

W3 Total Cache - Converting Apache rewrites to Nginx [closed]

I'm trying to convert the following Apache rewrites to Nginx : <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_METHOD} !=POST RewriteCond %{QUERY_STRING} ="" ...
1
vote
0answers
50 views

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

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 ~ ...
0
votes
0answers
291 views

HTTP_HOST changing in functions.php

I have getting variable results from the $_SERVER['HTTP_HOST'] variable in the functions.php file of our child theme. Let me explain our setup and then I'll explain the issue. We are running WP ...
0
votes
1answer
101 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
0answers
148 views

Content-type return text/plain instead of text/html after login as admin

I have a website at http://blog.rhinoera.com/. Hosted at Webfaction, which uses nginx as reverse proxy to serve php. Everytime I login as administrator, the http header that webserver returns ...
0
votes
1answer
133 views

Enable Minify in W3Total Cache using NGINX [closed]

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 ...
0
votes
1answer
241 views

Jetpack stats and caching strategy [closed]

I'm thinking about hosting a WordPress website with agressive caching/optimization strategies (like varnish, microcache, ngx_pagespeed, etc). But I still want Jetpack stats to work alright. What ...
-1
votes
2answers
310 views

http upload error as a subscribed user

Im getting an http error when uploading a featured image as a Subscriber. If I upgrade the user to editor or admin all works well. My server is Ubuntu 12.10, NGINX, WP 3.5.1 I have checked php.ini ...
0
votes
1answer
392 views

Something is injecting a slash after any static file response , server is nginx

This is what chrome's console says: Resource interpreted as Stylesheet but transferred with MIME type text/html: "someserver/wp-content/themes/pgcss/normalize.css/?ver=3.5.1". someserver:18 ...
1
vote
0answers
254 views

nginx varnish w3 total cache issues [closed]

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 ...
0
votes
1answer
434 views

Nginx Multisite redirects (incorrectly) on Chrome IE and Mobile, but works (correctly) on Firefox

I'm having an issue that I can't find anybody else talking about anywhere. I have a wordpress multisite setup utilizing sub-directories. It's running on Debian Squeeze, and it's powered by nginx, php ...
4
votes
1answer
581 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: ...
1
vote
0answers
224 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 ...
0
votes
2answers
2k views

nginx + W3 Total Cache: rewrite rules issue [closed]

nginx 1.2.7 + WP 3.5.1 + W3TC 0.9.2.8. Rewrite rules generated by the plugin simply don't work, server returns 404 after including them in nginx server config. Or maybe I'm doing something wrong? ...
2
votes
2answers
3k views

W3 Total Cache Minify Rewrite Error with Wordpress on nginx [closed]

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
1answer
427 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/ ...
0
votes
1answer
336 views

Second page (and next) of search results redirects me to the home page

WP 3.5, nginx (latest) and PHP5-FPM (latest). If you visit http://bombacarta.com/?s=coma the page is properly loaded. When you click on the link to go to the next page, you are redirected to the home ...
0
votes
2answers
3k 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 ...
-1
votes
3answers
4k views

nginx + wordpress: Best practices for configuring it to be secure, reliable, and fast? [closed]

BACKGROUND: Running everything up on Linode. Having followed the "Getting Started," "Securing Your Server," "LEMP Server on Ubuntu 12.04," and the "Manage Web Content with WordPress" guides I was ...
0
votes
1answer
128 views

Which version of PHP-FPM is necessary to work with WP 3.5?

I'm trying to establish a blog with NGINX and PHP-FPM. I wonder if my version of PHP should work with WordPress /usr/bin/php-cgi -v PHP Warning: PHP Startup: magickwand: Unable to initialize ...
1
vote
1answer
3k 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
245 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
112 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 ...
0
votes
1answer
940 views

How to configure nginx for wordpress

I'm having a working nginx, php-fpm and other php packages and mysql. I've extracted wordpress-3.4.2.zip in /usr/local/nginx/html/blog. When I visit localhost/blog I get "500 internal server error". ...
2
votes
1answer
2k 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 ...
0
votes
1answer
177 views

Migrating site, only header shows

I have copied my file structure to a new server, and exported the relevant tables to an SQL file. I have imported the tables to the new database. When I visit the new URL, only the header of the ...
0
votes
3answers
244 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 ...
1
vote
1answer
714 views

Nginx + Redirection Plugin breaks Permalinks [closed]

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 ...
0
votes
1answer
139 views

If I use Apache & ngnix together will I have fewer problems?

I have a VPS set-up and because it had limited RAM I set it up to run nginx instead of apache. But although performance has been reasonable, I've had problems with things like multi-site rules and ...
1
vote
2answers
525 views

PHP Code stuck in Cache [Memcached] [closed]

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 ...
0
votes
2answers
3k views

W3Total Cache problem with Nginx [closed]

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 ...
2
votes
1answer
361 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 ...
1
vote
1answer
141 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. ...
0
votes
1answer
866 views

Scheduling doesn't work due to caching?

I'm using W3 Total Cache and Nginx with Varnish, and I'm very happy with the speed. However, I noticed that when I schedule a post, the post doesn't get automatically posted when I'm a visitor. When ...
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 ...
0
votes
2answers
1k views

Multiple sites with pretty permalinks with nginx

I'm trying to set up a new local development server and instead of Apache I've decided to go with nginx. What I'd like to do is have each WordPress site live within its own directory inside ...
0
votes
1answer
649 views

Custom permalinks not work on Nginx + Apache

I have strange situation...my permalinks not work after setup nginx to work with apache. permalinks work if they not finish with ".html", but work if finish with "/" ie.: this work: ...
0
votes
1answer
193 views

Why Wordpress w/ Nginx Multisite Only Lets Admin Upload ZIP Plugins But Not Themes? [closed]

Wordpress 3.3 multisite / NginX. I can upload all the plugins I want in ZIP format but I cant upload a zipped theme and it can't be over 2megs in size. I cant find where these moronic rule are ...
1
vote
1answer
325 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 ...
0
votes
1answer
3k 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 != ...
6
votes
1answer
989 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 ...
0
votes
3answers
6k 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
3answers
833 views

Powering only a subfolder with WordPress on a LAMP stack with an nginx reverse proxy

[I just posted this on the WP Forums, too, before anyone starts Googling and saying that this is posted somewhere else] I'm hoping this isn't a duplicate, but I've been searching here and Googling ...
3
votes
3answers
2k 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 ...
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, ...