Add calibre-web.conf with 200M upload limit
This commit is contained in:
parent
7c95638d93
commit
1c88742815
14
calibre-web.conf
Normal file
14
calibre-web.conf
Normal file
|
@ -0,0 +1,14 @@
|
|||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
server_name library.exozy.me;
|
||||
|
||||
location / {
|
||||
proxy_pass http://unix:/srv/http/pages/library;
|
||||
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;
|
||||
client_max_body_size 200M;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue