xetus-oss/docker-archiva

How to set rest.baseUrl if behind proxy.

ahmednawazkhan opened this issue · 2 comments

Hi. I am new to archiva. I just want to set rest.baseUrl in archiva configuration. the only file i saw this option was in /archiva-data/conf/archiva.xml but i have noticed that this file is being recreated each time new container is created. My question is how does the container works. how are these configurations created at runtime. what is jetty.xml and where can I set rest.baseUrl to be a permanent change. Thanks.

tkent commented

👋

Just set the environment variable PROXY_BASE_URL (see here)

Thank you. that did the trick