I'm testing Wordpress on Ubuntu 14.04 with Lemp and having some issues - the latest is I'm trying to import a 30mb file into Wordpress. Doing the import it says 128M limit - which I configured in the php.ini.
But I get a "Request Entity Too Large" error when I tried to upload.
Looking up that error I learned nginx has a default of 1mb for uploads and you need to add, to the nginx.conf (I also tried the .../sites-available/default) file the line:
client_max_body_size 128m (for 128m limit)
When I do that I reload php - no problem.
When I try to restart nginx it says "fail" in red in my terminal window.
Can anyone help out?