From 38354d2ea2396de2cf828eefd036b496692be394 Mon Sep 17 00:00:00 2001 From: amass Date: Thu, 21 Nov 2024 00:38:51 +0800 Subject: [PATCH] make path /wt/** to /wt --- Server/conf/server.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Server/conf/server.conf b/Server/conf/server.conf index 3783d6a..174b3d2 100644 --- a/Server/conf/server.conf +++ b/Server/conf/server.conf @@ -39,6 +39,12 @@ location ~ ^/api/v1/.*$ { proxy_pass http://local; } +location /wt { + root amass_blog; + index index.html index.htm; + try_files /wt/index.html =404; +} + location = /wt/app.js { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade;