_______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx
on 2012-11-16 04:21
on 2012-11-16 09:23
Why don't you show us how far you've got, what problems you ran into, and what problems you're still having? Jonathan -- Jonathan Matthews // Oxford, London, UK http://www.jpluscplusm.com/contact.html
on 2012-11-16 09:37
> Thanks. The problem most likely is that the neo4j server is using it's own servername/port for the url creation in the html. Depending on the situation there are few ways you could fix/work arround it: 1. Change the neo4j/application source to use relative paths eg instead of http://domain:7474/ajax-path just /ajax-path 2. nginx can override location headers by using proxy_redirect ( http://nginx.org/en/docs/http/ngx_http_proxy_modul... ) 3. If you are unable to change the generated output from the neo4j backend you could try to use the Sub module ( http://wiki.nginx.org/HttpSubModule ) in the proxy_pass location with something like: sub_filter http://domain:7474 http://domain:8000; .. and let nginx alter the source on the fly (though this isnt the best solution from performance aspect / also there are some caveats if the response from backend is compressed etc). rr
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.