Using nginx as a frontend for apache2 serving wordpress w/ super-cache

Dieter Zinke dieterzinke at
Mon Jan 26 12:48:16 MSK 2009

>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. 

>Maxim Dounin

Thanks for your advice Maxim. I ve deleted the above lines and that works. But it is curious. I use the same rewrite for my rootserver and in the rootservers environment the same rewrite syntax works without problems. It is a standalone nginx not proxiing to a apache. Curious!


More information about the nginx mailing list