feat:增加电子书模块

This commit is contained in:
2025-10-22 22:43:23 +08:00
parent 39f18e9887
commit 1fe10d3b7b
2 changed files with 35 additions and 0 deletions

View File

@@ -39,6 +39,17 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
location /calibre {
proxy_pass http://host.docker.internal:8100;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Script-Name /calibre;
client_max_body_size 500M;
}
location /home-api/ {
proxy_pass http://host.docker.internal:8081/;
}