mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-02 17:08:22 +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;
|
||||
server_name ${DOMAIN};
|
||||
|
||||
client_max_body_size 500M; # Maximum upload size
|
||||
client_max_body_size 500M; # Maximum upload size
|
||||
|
||||
location ~ ^/api(.*)$ {
|
||||
rewrite ^/api(/.*)$ $1 break;
|
||||
@ -64,6 +64,8 @@ server {
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name ${DOMAIN};
|
||||
|
||||
client_max_body_size 500M; # Maximum upload size
|
||||
|
||||
location / {
|
||||
proxy_http_version 1.1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user