I just want to change OFBiz ports, while keeping standard HTTP(s) port
(80 & 443) for use by proxy (NGINX).
Regardless, my url.properties contains (note that I specified 443
(standard HTTPS port) for OFBiz URLs):
port.https=443
force.https.host=demo.elbiz.enterprise
On 14/12/19 17.20, Jacques Le Roux wrote:
Le 14/12/2019 à 09:57, Bagas Sanjaya a écrit :
But this method only affects landing pages. Subsequent access pages
use offset port.
What do you mean? offsetport parameter changes the port for all URLs
(HTTP and HTTPS). What do you want exactly?
For example, after landing on Webtools landing to login, the URL
generated to actual login page now point to port 523.
We use it for stable and old demos for years and as you can see we have
not this problem.
Do you use a proxy (HTTPD, Niginx) ? And If so what is you setting? If
not, did you change something else in url.properties or elsewhere
related to HTTPS port?
Jacques
On 13/12/19 20.47, Jacques Le Roux wrote:
With Gradle you don't need to worry about that (the doc needs some
update).
Simply define the ports to use with "--portoffset myPortNumber"
The official OFBiz demos run on the same VM, you can find the config
used for the stable release (R16) in
https://github.com/apache/ofbiz-tools/blob/master/demo-backup/stable-manual.sh
HTH
Jacques
Le 13/12/2019 à 13:31, Bagas Sanjaya a écrit :
Hello all,
I'd like to run two OFBiz instances; one for demo and one for
production. For production instance, I stick with default HTTPS port
(8443). For demo, however, I had to choose other port in order to
avoid conflict with production.
On Technical Production Setup Guide [1], port numbers are defined on
ofbiz-containers.xml file. Unfortunately, I didn't find the
mentioned file on my instance (as I use git repo instead). How can I
define different HTTPS port?
Bagas
[1]:
https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Technical+Production+Setup+Guide
--
An old man doll... just what I always wanted! - Clara