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

Reverse proxy prefix #2

Closed
josdotso opened this issue Mar 11, 2016 · 1 comment · Fixed by #3
Closed

Reverse proxy prefix #2

josdotso opened this issue Mar 11, 2016 · 1 comment · Fixed by #3

Comments

@josdotso
Copy link
Contributor

Hi. Looking to run this container behind a reverse proxy (e.g. example.com/archiva), and I gather Archiva needs to be started with knowledge that it's being prefixed. I haven't tracked down that specific mechanism just yet, but I'm certain it would be awesome if it were exposed as an environment variable for this container.

Please let me know your thoughts and thanks for the great container!

-Joshua

@josdotso
Copy link
Contributor Author

Right, so I think it's this line where the context path should go (e.g. /archiva instead of the default /, in my case).
https://github.com/apache/archiva/blob/master/archiva-jetty/src/main/contexts/archiva.xml#L25

Also, here are the docs for the context bit:
http://archiva.apache.org/docs/2.2.0/adminguide/standalone.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant