Welcome! Log In Create A New Profile

Advanced

Re: wordpress mu + nginx + apache

Ozkan Erden
December 01, 2009 01:56PM
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@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@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

wordpress mu + nginx + apache

pepejose December 01, 2009 11:33AM

Re: wordpress mu + nginx + apache

pepejose December 01, 2009 11:38AM

Re: wordpress mu + nginx + apache

Ozkan Erden December 01, 2009 01:56PM

Re: wordpress mu + nginx + apache

pepejose December 01, 2009 02:06PM

Re: wordpress mu + nginx + apache

Ozkan Erden December 01, 2009 02:16PM

Re: wordpress mu + nginx + apache

pepejose December 01, 2009 02:40PM

Re: wordpress mu + nginx + apache

pepejose December 01, 2009 04:32PM

Re: wordpress mu + nginx + apache

Igor Sysoev December 01, 2009 02:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 129
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready