-
-
Notifications
You must be signed in to change notification settings - Fork 463
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
Hostpath includes protocol and is confuses http/https when behind a proxy #207
Comments
You can go ahead, we will be glad to merge it. |
plantuml-server/src/main/java/net/sourceforge/plantuml/servlet/PlantUmlServlet.java Lines 266 to 267 in 3763ee7
So, the problem with your changes in PR #208 is, that it breaks the PlantUML Base URL path feature. I think your problem should be solved if you add Maybe you will find one of the two examples helpful: |
|
plantuml-server/src/main/webapp/index.jsp
Line 10 in da290a1
I have nginx handle SSL and by the time it gets to this service, the request protocol is HTTP. When this
hostpath
is used to construct URLs, they come back to the client browser as HTTP instead of HTTPS.A solution is simply to drop
hostpath
and use relative URIs.Is there any other reason to use
hostpath
here?If not, I have a simple PR that will fix this. Thanks.
The text was updated successfully, but these errors were encountered: