Using WordPress With LEMP

Issues

If you get the error ‘http error’ while uploading media:

1.Edit nginx.conf

nano /etc/nginx/nginx.conf

and add to the http block

client_max_body_size 100m;

2.Edit PHP config

nano /etc/php5/fpm/php.ini

and increase upload sizes

post_max_size = 100M
upload_max_filesize = 100M

Leave a Reply

Your email address will not be published. Required fields are marked *