October 30, 2012 04:51AM
I get real html from internal server with curl and is exact what I expect. Over the nginx I fix the problem with bad gateway, but the problem that I now see: nginx does not access remote directories after / for example:

https://www.mydomain.com/server1 I see the html page, but if I organize my page with jquery for example and is included from different directory js/jquery.js I see is not loaded in html ie nginx does not sub directories, only top level dir. For example if I try to access direct js file over the web like: http://www.mydomain1.com/server1/js/jsquery.js I get error 404 file not found. I think nginx does not forward this request to internal serve and trying to find the js file on local directory.

How to resolve this issue ?
Subject Author Posted

Rewrite or proxy_pass to internal ip ?

hristoc October 29, 2012 04:03AM

Re: Rewrite or proxy_pass to internal ip ?

Francis Daly October 29, 2012 05:52AM

Re: Rewrite or proxy_pass to internal ip ?

hristoc October 29, 2012 06:43AM

Re: Rewrite or proxy_pass to internal ip ?

Francis Daly October 29, 2012 05:06PM

Re: Rewrite or proxy_pass to internal ip ?

hristoc October 30, 2012 04:51AM

Re: Rewrite or proxy_pass to internal ip ?

Francis Daly October 30, 2012 03:50PM

Re: Rewrite or proxy_pass to internal ip ?

hristoc October 31, 2012 05:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 232
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready