Hello fellas,
I’ve been setup wordpress blog using NginX as front end and Apache as a
backend. My nginx config are :
http://fpaste.org/ae4M/
But, if I check the httpd and nginx log, the result(s) shows :
… snip …
125.164.xxx.xxx - - [31/Aug/2011:22:03:51 +0700] “GET /wp-admin/
HTTP/1.1”
200 58394 “-” “Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0)
Gecko/20100101
Firefox/6.0” “172.16.17.244”
… snip …
HTTP Code shows the php served on Nginx
Is this config is correctly ? The apache’s log shows nothing.
location / {
root /data/xtremenitro/;
index index.php index.html index.htm;
proxy_pass http://127.0.0.1:81;
}
This may be the reason - you are serving the files on your nginx server
location / {
proxy_pass http://127.0.0.1:81;
}
Try this and make sure your Wordpress configuration is good on your
Apache webserver
Christopher wrote:
nginx mailing list
[email protected]
nginx Info Page
Anyway, I think the directive above is through to Apache Web Server.
Isn’t it ? Because the /location // directive means all files on / will
be
pass the proxy on port :81.
CMIIW.
–
View this message in context:
http://nginx.2469901.n2.nabble.com/Wordpress-Setup-Nginx-Apache-tp6746900p6747173.html
Sent from the nginx mailing list archive at Nabble.com.
On 08/31/2011 05:06 PM, antituhan wrote:
Hello fellas, I’ve been setup wordpress blog using NginX as front end
and Apache as a backend.
If you are using this setup you might be interested in this plugin
In this way you can serve directly with Nginx static version of your
pages and offload Apache
Ciao
–
Simone F.