Ghost Config URL Redirect 127.0.0.1

Hi everyone, hope all is well.

The config below is 127.0.0.1 ip redirect.

When I change URL with IP, the site works but site_url shows localhost. So image not loading.

I my target @site.url = spectrumkod.com.

I want to run the site with AWS Lightsail in front of Cloudfront.

{
“database”: {
“client”: “mysql”,
“connection”: {
“host”: “127.0.0.1”,
“port”: 3306,
“database”: “bitnami_ghost”,
“user”: “bn_ghost”,
“password”: “xxx”
}
},
“url”: “https://www.spectrumkod.com”,
“server”: {
“port”: 2368,
“host”: “127.0.0.1”
},
“mail”: {
“transport”: “Direct”
},
“logging”: {
“transports”: [
“file”
]
},
“process”: “local”,
“paths”: {
“contentPath”: “/opt/bitnami/ghost/content”
}
}