diff options
author | Cullum Smith <cullum@sacredheartsc.com> | 2024-11-09 07:51:33 -0500 |
---|---|---|
committer | Cullum Smith <cullum@sacredheartsc.com> | 2024-11-09 07:51:33 -0500 |
commit | 529930d2f485264e3318c9ace31dfc598ecd565b (patch) | |
tree | efdba3178a4ae12b4bd8aee7a7bd10e13547a8ff | |
parent | 8aea85b97b044bf4f1d9c77f8cee74dee9e66eee (diff) | |
download | infrastructure-529930d2f485264e3318c9ace31dfc598ecd565b.tar.gz |
set max http body size in nginx for xmpp file uploads
-rw-r--r-- | files/usr/local/etc/nginx/vhosts.conf.xmpp_server | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/files/usr/local/etc/nginx/vhosts.conf.xmpp_server b/files/usr/local/etc/nginx/vhosts.conf.xmpp_server index 732a6de..fad92ad 100644 --- a/files/usr/local/etc/nginx/vhosts.conf.xmpp_server +++ b/files/usr/local/etc/nginx/vhosts.conf.xmpp_server @@ -10,6 +10,8 @@ server { add_header Strict-Transport-Security "max-age=63072000" always; + client_max_body_size ${prosody_upload_sizelimit}; + location / { proxy_http_version 1.1; proxy_set_header Host \$host; |