From 529930d2f485264e3318c9ace31dfc598ecd565b Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Sat, 9 Nov 2024 07:51:33 -0500 Subject: set max http body size in nginx for xmpp file uploads --- files/usr/local/etc/nginx/vhosts.conf.xmpp_server | 2 ++ 1 file changed, 2 insertions(+) (limited to 'files/usr/local') 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; -- cgit v1.2.3