Hey everyone,
I’ve made a few tweaks to my config.production.json
file to add a mail server, but had a few quick questions about further modifications, based on the info in the docs here.
In the mail section my config file:
"mail": {
"transport": "SMTP",
"options": {
"service": "Mailgun",
"host": "smtp.mailgun.org",
"port": 465,
"auth": {
"user": "postmaster@mnchrm.co",
"pass": "xxx"
}
}
},
If I want to add a from
address, does it matter where I put that? Should that be on the first line, right before transport
?
Second, I want to remove image compression on my ghost blog. The end of my config file looks like this:
"logging": {
"transports": [
"file",
"stdout"
]
},
"process": "systemd",
"paths": {
"contentPath": "/var/www/mnchrm/content"
}
}
Can I just append the imageOptimization
in the middle there, like this?
"logging": {
"transports": [
"file",
"stdout"
]
},
"process": "systemd",
"paths": {
"contentPath": "/var/www/mnchrm/content"
},
"imageOptimization": {
"resize": false
}
}
Finally, do I need the compression
item as well, or is that covered by imageOptimization
? If I add that, should it go under imageOptimization
like this:
"imageOptimization": {
"resize": false
"compress": false
}
or as it’s own item like this:
"imageOptimization": {
"resize": false
},
"compress": false
Thanks!