plantuml / plantuml-server

PlantUML Online Server
https://plantuml.com/
GNU General Public License v3.0
1.6k stars 463 forks source link

Example with nginx-contextpath for docker-compose not working #222

Closed oholimoli closed 1 year ago

oholimoli commented 2 years ago

Hi,

this example here: plantuml-server/examples/nginx-contextpath/docker-compose.yml is not working. Is there something missing? Just setting the environment variable BASE_URL="plantuml" and modifying the nginx.conf with the path doesn't seem to work.

The simple example works fine, but as soon as I try to set the centextpath I get this output:

oholimoli commented 2 years ago

I just found the problem: BASE_URL="plantuml" doesn't work, but BASE_URL=plantuml does! This should be corrected in the example.

Now I can access my plantuml-server via http://subdomain.domain.com/plantuml/

How can I achieve an url like this: http://subdomain.domain.com/something/longer/ ?