Update reverse_proxy.md

change MB to M in client_max_body_size so reverse proxy doesnt fail
This commit is contained in:
Greylinux 2021-07-19 13:32:25 +01:00 committed by GitHub
parent 04e421a7e1
commit eae1069295
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# A bit of headroom over the 16MB accepted by Prosody.
client_max_body_size 20MB;
client_max_body_size 20M;
}
}
@ -91,7 +91,7 @@ server {
proxy_ssl_server_name on;
# A bit of headroom over the 16MB accepted by Prosody.
client_max_body_size 20MB;
client_max_body_size 20M;
}
}
```