Update reverse_proxy.md
change MB to M in client_max_body_size so reverse proxy doesnt fail
This commit is contained in:
parent
04e421a7e1
commit
eae1069295
|
@ -66,7 +66,7 @@ server {
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
||||||
# A bit of headroom over the 16MB accepted by Prosody.
|
# 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;
|
proxy_ssl_server_name on;
|
||||||
|
|
||||||
# A bit of headroom over the 16MB accepted by Prosody.
|
# A bit of headroom over the 16MB accepted by Prosody.
|
||||||
client_max_body_size 20MB;
|
client_max_body_size 20M;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue