make path /wt/** to /wt
All checks were successful
Deploy / Build (push) Successful in 4m38s

This commit is contained in:
amass 2024-11-21 00:38:51 +08:00
parent 3e2cbf0179
commit 38354d2ea2

View File

@ -39,6 +39,12 @@ location ~ ^/api/v1/.*$ {
proxy_pass http://local; proxy_pass http://local;
} }
location /wt {
root amass_blog;
index index.html index.htm;
try_files /wt/index.html =404;
}
location = /wt/app.js { location = /wt/app.js {
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;