DONE: increase limit size of profile pic, fix swal error when uploading profile pic large than 2 mb on prod (#15)
Co-authored-by: ISMAIL MASSERAN <topaz@ISMAILs-Macbook.local> Reviewed-on: #15
This commit was merged in pull request #15.
This commit is contained in:
@@ -9,6 +9,9 @@ http {
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
|
||||
# Allow multipart uploads (profile images, docs). Default nginx limit is 1m.
|
||||
client_max_body_size 10M;
|
||||
|
||||
# Logging
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
||||
@@ -9,6 +9,9 @@ http {
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
|
||||
# Allow multipart uploads (profile images, docs). Default nginx limit is 1m.
|
||||
client_max_body_size 10M;
|
||||
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
||||
|
||||
@@ -9,6 +9,9 @@ http {
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
|
||||
# Allow multipart uploads (profile images, docs). Default nginx limit is 1m.
|
||||
client_max_body_size 10M;
|
||||
|
||||
# Logging
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
||||
Reference in New Issue
Block a user