diff --git a/nginx/templates/dev/odk.conf.template b/nginx/templates/dev/odk.conf.template index 67fc94dc21..4b7ba89af2 100644 --- a/nginx/templates/dev/odk.conf.template +++ b/nginx/templates/dev/odk.conf.template @@ -25,8 +25,8 @@ server { listen 80; server_name odk.fmtm.localhost; - # Max upload size 100MB - client_max_body_size 100m; + # Max upload size 500MB + client_max_body_size 500m; # The frontend location / { @@ -78,8 +78,8 @@ server { ssl_certificate /etc/nginx/central-fullchain.crt; ssl_certificate_key /etc/nginx/central.key; - # Max upload size 100MB - client_max_body_size 100m; + # Max upload size 500MB + client_max_body_size 500m; # The API location ~ ^/v\d { diff --git a/nginx/templates/odk.conf.template b/nginx/templates/odk.conf.template index a0a49eded3..629c261875 100644 --- a/nginx/templates/odk.conf.template +++ b/nginx/templates/odk.conf.template @@ -36,8 +36,8 @@ server { include /etc/nginx/options-ssl-nginx.conf; include /etc/nginx/options-security.conf; - # Max upload size 1GB - client_max_body_size 100m; + # Max upload size 500MB + client_max_body_size 500m; # Response headers (Access-Control-Allow-Origin set by FastAPI, not required) add_header 'Content-Security-Policy' 'upgrade-insecure-requests';