Merge pull request #222 from jamebal/recycle

perf: 博客地址改为相对路径, 可以直接通过"网盘地址+/blog" 访问,需要设置站点地址
This commit is contained in:
jmal 2024-07-08 16:49:55 +08:00 committed by GitHub
commit b9ec23b552
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;