Website not working after installation

Issue Summary
Hi all!

I’ve reinstalled ghost several times today. I can’t figure out what is the reason, but the installation completes successfully, but the site itself does not open. The domain is directed to the IP of the server.

Server IP: 185.248.102.110
SIte: litwin.pro

Please help me to solve the problem…

Steps to Reproduce

  1. Repeated removal and reinstallation
  2. Change host and port ( Скриншот 23-03-2023 11:54:33.jpg )

Setup information

Ghost Version
5.39.0

Node.js Version

  • v16.19.1*

How did you install Ghost?
Installation according to instructions ghost

Provide details of your host & operating system
Ubuntu, v22.04.2 LTS

Database type
mysqld 8.0.32

Browser & OS version
Chrome.

nginx config

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

    server_name litwin.pro;
    root /var/www/litwin.pro/system/nginx-root; # Used for acme.sh SSL verification (https://acme.sh)

    location / {
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header Host $http_host;
        proxy_pass http://127.0.0.1:2368;
        
    }

    location ~ /.well-known {
        allow all;
    }

    client_max_body_size 50m;
}

For starters, it looks like SSL (https) isn’t correctly configured. However, I can’t connect to your site.

Please confirm that Ghost is running without error, and try ghost setup ssl (note that too many attempts will prevent certificates being issued.)

1 Like

Thank you very much!
The “ghost setup ssl” command helped. I saw in the logs that the problem is with crontab. In the end, I reinstalled everything and it worked!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.