Increase max upload size

This commit is contained in:
Weves 2023-12-29 20:59:28 -08:00 committed by Chris Weaver
parent aa67768c79
commit b352d83b8c
4 changed files with 7 additions and 5 deletions

View File

@ -18,7 +18,7 @@ server {
listen 80;
server_name ${DOMAIN};
client_max_body_size 500M; # Maximum upload size
client_max_body_size 5G; # Maximum upload size
location ~ ^/api(.*)$ {
rewrite ^/api(/.*)$ $1 break;
@ -65,7 +65,7 @@ server {
listen 443 ssl;
server_name ${DOMAIN};
client_max_body_size 500M; # Maximum upload size
client_max_body_size 5G; # Maximum upload size
location / {
proxy_http_version 1.1;

View File

@ -18,7 +18,7 @@ server {
listen 80;
server_name ${DOMAIN};
client_max_body_size 500M; # Maximum upload size
client_max_body_size 5G; # Maximum upload size
location ~ ^/api(.*)$ {
rewrite ^/api(/.*)$ $1 break;

View File

@ -18,7 +18,7 @@ server {
listen 80;
server_name ${DOMAIN};
client_max_body_size 500M; # Maximum upload size
client_max_body_size 5G; # Maximum upload size
location ~ ^/api(.*)$ {
rewrite ^/api(/.*)$ $1 break;
@ -61,7 +61,7 @@ server {
listen 443 ssl;
server_name ${DOMAIN};
client_max_body_size 500M; # Maximum upload size
client_max_body_size 5G; # Maximum upload size
location / {
proxy_http_version 1.1;

View File

@ -16,6 +16,8 @@ data:
listen 80;
server_name $$DOMAIN;
client_max_body_size 5G; # Maximum upload size
location ~ ^/api(.*)$ {
rewrite ^/api(/.*)$ $1 break;
proxy_set_header X-Real-IP $remote_addr;