Using canonical URL for homepage

I’m looking in Google Search Console, and notice this report:

Duplicate without user-selected canonical

The URLs it lists are:

http://reliefmine-com
https://reliefmine-com

I have read through this documentation, but it seems to be designed for Pages and Posts, not necessarily for the homepage of a website:

I have also searched this form for posts related to canonical URLs, but they all seem to be slightly different than what I’m asking about.

So how do I fix this with the Ghost platform?

You have one page that is served on http and https. It’d be better to configure the webserver to only serve https.

server {
    listen 80;
    listen [::]:80;

    server_name reliefmine.com;
    return 301 https://reliefmine.com$request_uri;
}

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    server_name reliefmine.com;
    ...

This is different from how things are done using Apache and an .htaccess file. What goes where the three dots are “…”? I don’t see the closing }. And does this code snippet go into the Site Header portion of the Code Injection?

Also, is there documentation for other ways the web server can be configured?

Thank you.

That’s the rest of your server block for running Ghost. I only showed what’s needed to only return https.

No, this is Nginx config, and goes in the sites-available config.

Thank you. Is there some Ghost documentation that tells me other basic things I need to tweak in Nginx config files? I assume I would make any tweaks in the config files that came with my purchased custom theme, zip them up, and upload them back onto the Ghost server since we don’t have SFTP or SSH access?

Nginx configuration is entirely separate fro Ghost, and to make these changes, ssh access is essential.

Since you do not have this, ask your host to redirect http to https.