Is it possible to use oxf.http.proxy.port property by itself without specifying the oxf.http.proxy.host?
Posted by
npujol73 on
URL: https://discuss.orbeon.com/Is-it-possible-to-use-oxf-http-proxy-port-property-by-itself-without-specifying-the-oxf-http-proxy-h-tp1575266.html
Hi,
We are setup in a proxied environment where our app server responds to multiple hosts
http://ourdemoserver1.com/http://ourdemoserver2.com/http://ourdemoserver3.com/In addition our app server is actually running on port 8080 whereas the proxy exposes the app server on port 80.
I am in separate deployment setup and I can make things work by adjusting the url-rewriting property to
<property as="xs:anyURI" name="oxf.url-rewriting.service.base-uri" value="
http://ourdemoserver1:8080/jobs"/>Problem is the host name really depends on which host was solicited so hardcoding the hostname in the property above is incorrect. I was trying to play with the property below but could not get it working:
<property as="xs:integer" name="oxf.http.proxy.port" value="8080"/>
Question: Is is possible to use oxf.http.proxy.port without having to specify oxf.http.proxy.host so that I can have orbeon use the hostname that was used to solicit the form but override the port ? Also is there a better way to do this ?
Thanks