feat:增加电子书模块
This commit is contained in:
11
nginx.conf
11
nginx.conf
@@ -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/;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user