mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-04-22 23:19:43 +00:00
Merge pull request #3514 from koralowiec/chore/docs-nginx-client-max-body-size
chore(docs): add client_max_body_size parameter in nginx config
This commit is contained in:
commit
a7288b4fbf
1 changed files with 22 additions and 18 deletions
|
|
@ -92,8 +92,7 @@ Toggle websockets support.
|
||||||
Add this to the site config file on your nginx server after you have changed the relevant parts in the <> brackets, and inserted your certificate paths.
|
Add this to the site config file on your nginx server after you have changed the relevant parts in the <> brackets, and inserted your certificate paths.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
server
|
server {
|
||||||
{
|
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name <sub>.<domain>.<tld>;
|
server_name <sub>.<domain>.<tld>;
|
||||||
|
|
||||||
|
|
@ -114,6 +113,11 @@ server
|
||||||
|
|
||||||
proxy_pass http://<URL_to_forward_to>;
|
proxy_pass http://<URL_to_forward_to>;
|
||||||
proxy_redirect http:// https://;
|
proxy_redirect http:// https://;
|
||||||
|
|
||||||
|
# Prevent 413 Request Entity Too Large error
|
||||||
|
# by increasing the maximum allowed size of the client request body
|
||||||
|
# For example, set it to 10 GiB
|
||||||
|
client_max_body_size 10240M;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue