chore: 将drawio集成到jmalcloud镜像中

This commit is contained in:
jmal 2024-05-30 15:31:42 +08:00
parent cedf1292cc
commit 1c8e77ad19

View File

@ -178,12 +178,12 @@ http {
proxy_set_header Connection $connection_upgrade;
}
location /drawio/webapp/ {
location /draw {
proxy_pass http://jmalcloud:8080/;
proxy_http_version 1.1;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-PORT $remote_port;
proxy_set_header X-Forwarded-Host $the_host/drawio/webapp;
proxy_set_header X-Forwarded-Host $the_host/draw;
proxy_set_header X-Forwarded-Proto $the_scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;