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

This commit is contained in:
Stepan Vladovskiy
2024-05-05 03:15:47 -03:00
parent c9205a698f
commit 526d2c3e4e
2 changed files with 37 additions and 0 deletions

View File

@@ -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 }}