Open zero00072 opened 1 year ago
There are no more information at dockerhub to describe the usage.
Just remove all:
location /plantuml/ {
proxy_pass http://plantuml:8080;
proxy_cache off;
}
And add variable:
---
version: '3'
services:
plantuml:
image: plantuml/plantuml-server:jetty
restart: always
environment:
BASE_URL: plantuml
PLANTUML_LIMIT_SIZE: 8192
...
I agree that the documentation on DockerHub is quite short. There could at least be a section which indicates that there is more information/documentation, as well as examples, on the GitHub repository. But this can only be done by somebody with access to the DockerHub account.
If I have understood the described situation correctly, then the example "Nginx reverse proxy example with defined location directive (different context path)", should cover exactly your case. Perhaps the example will also answer some still remaining questions.
Describe the bug
I have installed PlantUML container version
jetty-v1.2023.1
and versionjetty-v1.2023.5
behind Nginx reverse proxy. PlantUML verjetty-v1.2023.5
can not inject myHost
base url (with subdirectory) to HTML urls. So that the HTML page expect the base url reffer to a real root, and omit them. Then, all web resources and urls missed.To Reproduce
Steps to reproduce the behavior:
Setting Nginx reverse proxy.
docker-compose up -d plantuml
Visit the web which Nginx served. With url:
https://<domain_name>/plantuml/
.Expected behavior
Work well like PlantUML container version
jetty-v1.2023.1
.Screenshots
jetty-v1.2023.1
jetty-v1.2023.5
Desktop: