mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-28 13:53:28 +02:00
Increase max upload size
This commit is contained in:
@@ -18,7 +18,7 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
server_name ${DOMAIN};
|
server_name ${DOMAIN};
|
||||||
|
|
||||||
client_max_body_size 500M; # Maximum upload size
|
client_max_body_size 5G; # Maximum upload size
|
||||||
|
|
||||||
location ~ ^/api(.*)$ {
|
location ~ ^/api(.*)$ {
|
||||||
rewrite ^/api(/.*)$ $1 break;
|
rewrite ^/api(/.*)$ $1 break;
|
||||||
@@ -65,7 +65,7 @@ server {
|
|||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name ${DOMAIN};
|
server_name ${DOMAIN};
|
||||||
|
|
||||||
client_max_body_size 500M; # Maximum upload size
|
client_max_body_size 5G; # Maximum upload size
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
@@ -18,7 +18,7 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
server_name ${DOMAIN};
|
server_name ${DOMAIN};
|
||||||
|
|
||||||
client_max_body_size 500M; # Maximum upload size
|
client_max_body_size 5G; # Maximum upload size
|
||||||
|
|
||||||
location ~ ^/api(.*)$ {
|
location ~ ^/api(.*)$ {
|
||||||
rewrite ^/api(/.*)$ $1 break;
|
rewrite ^/api(/.*)$ $1 break;
|
||||||
|
@@ -18,7 +18,7 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
server_name ${DOMAIN};
|
server_name ${DOMAIN};
|
||||||
|
|
||||||
client_max_body_size 500M; # Maximum upload size
|
client_max_body_size 5G; # Maximum upload size
|
||||||
|
|
||||||
location ~ ^/api(.*)$ {
|
location ~ ^/api(.*)$ {
|
||||||
rewrite ^/api(/.*)$ $1 break;
|
rewrite ^/api(/.*)$ $1 break;
|
||||||
@@ -61,7 +61,7 @@ server {
|
|||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name ${DOMAIN};
|
server_name ${DOMAIN};
|
||||||
|
|
||||||
client_max_body_size 500M; # Maximum upload size
|
client_max_body_size 5G; # Maximum upload size
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
@@ -16,6 +16,8 @@ data:
|
|||||||
listen 80;
|
listen 80;
|
||||||
server_name $$DOMAIN;
|
server_name $$DOMAIN;
|
||||||
|
|
||||||
|
client_max_body_size 5G; # Maximum upload size
|
||||||
|
|
||||||
location ~ ^/api(.*)$ {
|
location ~ ^/api(.*)$ {
|
||||||
rewrite ^/api(/.*)$ $1 break;
|
rewrite ^/api(/.*)$ $1 break;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
Reference in New Issue
Block a user