Skip to content

Commit

Permalink
Merge pull request ezsystems#5 from ezsystems/nginx_upload_size
Browse files Browse the repository at this point in the history
Nginx : Allow to configure upload max size
  • Loading branch information
yannickroger committed Mar 20, 2015
2 parents aec6ace + ed1e903 commit 5e632b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/nginx/etc/nginx/sites-available/mysite.com
Expand Up @@ -26,6 +26,9 @@ server {
# ez rewrite rules
include ez_params.d/ez_rewrite_params;

# upload max size
client_max_body_size 2m;

location / {
location ~ ^/(index|index_(rest|cluster|treemenu_tags))\.php(/|$) {
include ez_params.d/ez_fastcgi_params;
Expand Down

0 comments on commit 5e632b1

Please sign in to comment.