添加http文件get接口 。
Some checks failed
Deploy / Build (push) Failing after 1m40s

This commit is contained in:
2025-03-14 18:17:36 +08:00
parent cc63303cbb
commit 334edbddfd
6 changed files with 54 additions and 14 deletions

View File

@ -31,15 +31,10 @@ location ~ ^/api/v1/.*$ {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_http_version 1.1;
proxy_pass http://local;
}
location ~ ^/lvgl/.+$ {
root amass_blog;
index index.html index.htm;
try_files /lvgl/index.html =404;
}
location ^~ /api/v1/freedom {
if ($http_upgrade != "websocket") { # WebSocket协商失败时返回404
return 404;