feat: sv - in nginx client_max_body_size=100M, solution for upload large files
All checks were successful
Deploy on push / deploy (push) Successful in 24s
All checks were successful
Deploy on push / deploy (push) Successful in 24s
This commit is contained in:
@@ -27,6 +27,7 @@ server {
|
||||
server_name {{ $.NOSSL_SERVER_NAME }};
|
||||
access_log /var/log/nginx/{{ $.APP }}-access.log;
|
||||
error_log /var/log/nginx/{{ $.APP }}-error.log;
|
||||
client_max_body_size 100M;
|
||||
|
||||
{{ else if eq $scheme "https" }}
|
||||
listen [::]:{{ $listen_port }} ssl http2;
|
||||
@@ -43,6 +44,7 @@ server {
|
||||
keepalive_requests 500;
|
||||
proxy_read_timeout 3600;
|
||||
limit_conn addr 1000;
|
||||
client_max_body_size 100M;
|
||||
{{ end }}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user