Skip to content

Instantly share code, notes, and snippets.

@zgulde
Last active January 27, 2016 20:33
Show Gist options
  • Save zgulde/5f45bff2856b49d1ba55 to your computer and use it in GitHub Desktop.
Save zgulde/5f45bff2856b49d1ba55 to your computer and use it in GitHub Desktop.

add this line

client_max_body_size 20M;

to this file

/path/to/vagrant-lamp/ansible/roles/Nginx/templates/nginx.conf.j2

in the 'http' section

then reprovision your capstone.dev site

$ ansible-playbook ansible/playbooks/vagrant/site/php.yml

and you should now be able to upload larger images!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment