Config.production.json

Hey @MaikelVE , welcome to Ghost and DigitalOcean :slight_smile:

To edit the production file you can either edit it by typing in the full path or navigate to the path and then edit it.

  1. Navigate to the ghost installation folder: “cd /var/www/ghost”
  2. Then, just to make sure, list the folder contents: “ls”
  3. You should see the following:
    image
  4. To edit the file type in: "sudo nano config.production.json

Make the changes and hit control-x to quit, saving the changes made. I hope that helps :slight_smile:

OR from the start just type in: “sudo nano /var/www/ghost/config.production.json”.

I prefer navigating to the folder that I am working in.

6 Likes