Re: Proxy_pass remote nginx server

2013-12-17 Thread Francis Daly
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.

Proxy_pass remote nginx server

2013-12-17 Thread hussan
Hi, i have 2 nginx server, one with my main site(www.site.com) and other nginx server with my blog(www.site2.com). My nginx server 1 have this configurarion: on location /blog/ i have a (proxy_pass) to blog on nginx server 2 *== server { server_name www.site.com; root "/home/site/sit