mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-04 20:20:37 +02:00
Add max upload size to HTTPS NGINX listener
This commit is contained in:
parent
ae0dbfadc6
commit
d2f7dff464
@ -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 500M; # Maximum upload size
|
||||||
|
|
||||||
location ~ ^/api(.*)$ {
|
location ~ ^/api(.*)$ {
|
||||||
rewrite ^/api(/.*)$ $1 break;
|
rewrite ^/api(/.*)$ $1 break;
|
||||||
@ -64,6 +64,8 @@ server {
|
|||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name ${DOMAIN};
|
server_name ${DOMAIN};
|
||||||
|
|
||||||
|
client_max_body_size 500M; # Maximum upload size
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user