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

nginx proxy & subdirectory #79

Open
atmaniak opened this issue Jun 22, 2018 · 1 comment
Open

nginx proxy & subdirectory #79

atmaniak opened this issue Jun 22, 2018 · 1 comment

Comments

@atmaniak
Copy link

Is there any way to run holdmail behind nginx and serve the content as a subdirectory ?

We have multiple project here, and we would like to run each instance behind our nginx proxy as follow :
http://domain.local/project/1holdmail
http://domain.local/project2/holdmail

If i change the contextPath in holdmail.properties the application answer a blank page.

@barryoneill
Copy link
Collaborator

Sorry for the slow reply, I haven't had the same time to commit to this project recently.

Some reading indicates that Spring applications will support a X-Forwarded-Prefix header if it sees one, perhaps that might work, but I believe it may be a URI rewriting rule that's needed, as the UI for holdmail is pretty independent from the spring API backend.

Adding tag 'help-wanted'

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

No branches or pull requests

2 participants