Forum: NGINX Re: Using nginx as a frontend for apache2 serving wordpress w/ super-cache

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Dieter Zinke (Guest)
on 2009-01-26 12:05
(Received via mailing list)
>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 D.

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!
This topic is locked and can not be replied to.