Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
YichaoOU committed May 28, 2021
1 parent 70e88ad commit 72c9054
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/content/Notes/AWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,33 @@ Once you have successfully deployed, you can then use the ssh terminal to do fur
:align: center


Upload size error
^^^^^^^^

::

nano /etc/nginx/nginx.conf

add ``client_max_body_size 50M;``. Then ``service nginx restart``.


::


server {
listen80 default_server;
access_log /var/log/nginx/access.log main;
client_header_timeout 60;
client_body_timeout 60;
keepalive_timeout 60;
client_max_body_size 50M;
gzipoff;
gzip_comp_level4;
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
# Include the Elastic Beanstalk generated locations
include conf.d/elasticbeanstalk/*.conf;
}

Notes
^^^^^

Expand Down

0 comments on commit 72c9054

Please sign in to comment.