From 1c8e77ad19fe9f3f3aaf2dd55f27fc8c702e9fc9 Mon Sep 17 00:00:00 2001 From: jmal Date: Thu, 30 May 2024 15:31:42 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=B0=86drawio=E9=9B=86=E6=88=90?= =?UTF-8?q?=E5=88=B0jmalcloud=E9=95=9C=E5=83=8F=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index bf049cb..994f1b5 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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;