Ghost install ERR_TOO_MANY_REDIRECTS

Debug Information:
OS: Ubuntu, v20.04.3 LTS
Node Version: v14.17.6
Ghost Version: 4.38.1
Ghost-CLI Version: 1.18.1
Environment: production

No Digital Ocean. Self-hosting VDS.
Hello. I install Ghost on VDS according to the instructions on the ghost site. OS Ubuntu. Ghost installs without problems, but the site won’t open due to a ERR_TOO_MANY_REDIRECTS. I tried not to set SSL when setting up Ghost, but the error still persists.
I waited a day for the domain to join the server, and my nginx settings are in perfect order, but nothing works. Could there be a problem with Ghost 4.38.1? The fact is that until I start installing Ghost, the site works, displaying the nginx start page, but then this error appears. Any ideas?

What have you done to identify the cause of the redirection loop? It’s probably a misconfiguration in your settings, but you haven’t shared any useful information.

You could start by deleting cookies in your browser, especially if the site has recently been rebuilt.