Importing Error

Hi

Just installd a new Ghost Droplt on DigitalOcean, keep getting the following error when importing posts:

“Import failed
Request is larger than the maximum file size the server allows”

The JSON file is 86 MB. What do I need to do to import?

Hi Tefo,

It sounds like you should increase the file upload size limit of the server you’re using. For example, Nginx’s upload limit is 1mb by default. You can increase the size in nginx.conf like:

http {
    ...
    client_max_body_size 100M;
} 

Here is an article which you might find useful.