Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set rest.baseUrl if behind proxy. #28

Closed
ahmednawazkhan opened this issue Oct 27, 2020 · 2 comments
Closed

How to set rest.baseUrl if behind proxy. #28

ahmednawazkhan opened this issue Oct 27, 2020 · 2 comments
Labels

Comments

@ahmednawazkhan
Copy link

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
Copy link
Contributor

tkent commented Oct 27, 2020

👋

Just set the environment variable PROXY_BASE_URL (see here)

@tkent tkent added the question label Oct 27, 2020
@ahmednawazkhan
Copy link
Author

Thank you. that did the trick

@ahmednawazkhan ahmednawazkhan changed the title How does archiva works. How to set rest.baseUrl if behind proxy. Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants