wordpress mu + nginx + apache

Ozkan Erden ozkan.erden at gmail.com
Tue Dec 1 21:50:15 MSK 2009


You don't need any rewrite rules if you are proxying PHP to apache.
Just make sure your .htaccess file is writable by wordpress.


On Tue, Dec 1, 2009 at 6:38 PM, pepejose <nginx-forum at nginx.us> wrote:
> this is my config, I forgot to put it, sorry
>
>
>
>        ######   blogs.domain.com   ######
>        server{
>                listen *:80;
>                server_name  blogs.domain.com;
>                root /xx/xxxx/xx/blogs/;
>                index index.php index.html index.htm;
>
>                #rules mod rewrite wordpress
>
>                ????????
>
>
>        #Proxy the PHP scripts to Apache listening on 127.0.0.1:8080
>        location ~ \.php$ {
>                        proxy_set_header Host $host;
>                        proxy_set_header X-Real-IP $remote_addr;
>                        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>                        proxy_pass   http://127.0.0.1:8080;
>        }
>        }
>
>
>
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,27098,27103#msg-27103
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>




More information about the nginx mailing list