perf: 博客地址改为相对路径, 可以直接通过"网盘地址+/blog" 访问,需要设置站点地址

This commit is contained in:
jmal 2024-07-08 16:48:36 +08:00
parent 242caca4ef
commit 0e43447ad2

View File

@ -89,6 +89,12 @@ http {
index index.html index.htm;
}
location = /blog {
proxy_pass http://jmalcloud:8088/articles;
proxy_set_header Host $proxy_host;
proxy_set_header X-real-ip $remote_addr;
}
location = /blog/ {
proxy_pass http://jmalcloud:8088/articles;
proxy_set_header Host $proxy_host;