3 messages in ru.sysoev.nginxRe: Using nginx as a frontend for apa...
FromSent OnAttachments
Dieter ZinkeJan 24, 2009 1:45 am 
Maxim DouninJan 25, 2009 1:28 am 
Dieter ZinkeJan 26, 2009 1:47 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Using nginx as a frontend for apache2 serving wordpress w/ super-cacheActions...
From:Maxim Dounin (mdou@mdounin.ru)
Date:Jan 25, 2009 1:28:59 am
List:ru.sysoev.nginx

Hello!

On Sat, Jan 24, 2009 at 01:45:48AM -0800, Dieter Zinke wrote:

I am trying to setup nginx as a frontend for apache2 to serve Wordpress with
super-cache. I don' t want to use this for a production server, only to speed up
my old Athlon 1100 workstation, which moves sometimes into swapping while using
the wordpress admin panel. This is my workarround:

http://home.arcor.de/nhz6/nginx/default http://home.arcor.de/nhz6/nginx/nginx.conf

Trying to access http://example.com redirects me to http://example.com:8080, but
the serving of static files by nginx doesn' t work and i get 301 errors. Trying
to access http://example.com/wp-content/themes/yaml-karo/images/about-me.jpg
redirects me to http://example.com:8080/. Maybe i am missing something or a
typo, don' t know.

Serving static from nginx doesnt work due to the following code in your server configuration:

# all other requests go to Wordpress if (!-e $request_filename) { rewrite . /index.php last; }

It's done at server level and tests file existence without root specified.