On Tue, Dec 17, 2013 at 12:18:00PM -0500, hussan wrote:
Hi there,
> location /blog/ {
> location / {
> location ~ "^(.+\.php)($|/)" {
> location ~* /\.(ht|git|svn) {
> When i try www.site.com/blog/ proxy_pass works, go to nginx server 2 , and
> my css/js are loaded fine. But when try www.site.com/blog/wp-admin/ is
> redirected to www.site.com/blog/wp-login.php (on server 1) 404 error(i dont
> have this file in server 1).
>
> how i can solve this? all www.site.com/blog/* trafic go to proxy_pass on
> nginx server 2 www.site2.com/* ?
http://nginx.org/r/location
You want ^~
f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx