add nginx reverse proxy examples

This commit is contained in:
Florian
2021-12-26 22:38:20 +01:00
committed by PlantUML
parent 12224aa16e
commit da290a15fe
8 changed files with 339 additions and 14 deletions

View File

@@ -167,17 +167,4 @@ mvn package -f pom.jdk8.xml [-Dapache-jsp.scope=compile]
It is possible to use PlantUML with a reverse proxy.
Here is an example of setting for nginx reverse proxy.
```
# PlantUML
location /plantuml/ {
include /etc/nginx/proxy.conf;
proxy_set_header HOST $host/plantuml;
proxy_set_header X-Forwarded-Host $host/plantuml;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://plantuml-server:8080/;
}
```
You can find this and other examples [here](./examples).