Hi everybody!
installed let’s encrypt certificate and the site became unavailable (This site can’t be reached). The site worked without a ssl certificate
Unfortunately I have no rights to show this domain in the public domain
Please write the options (or please pass on links where you can read solutions), I will check it myself
I tried many options, but none of them worked
It's almost impossible to help you in this manner in my humble opinion. There's not really something to go on, so we can't point to a "here's a working solution!" page. This is of course because a page like "Here's the single answer for a few thousands problems" doesn't exist.
I would advice you to debug nginx properly. This means digging into the error log, increase verbosity to this log if you can't find any error message at the first glance et cetera.
That cannot be the whole output of the command. Please just copy/paste the output in this thread (and use a line with three backticks (```) before and after the output for readability).
If you want to make it easy for yourself, you can always use sed to mask your domain name:
nginx -T | sed 's/yourdomainname.tld/example.com/g'
understand what you are talking about and I am not asking you to give me 1 solution for all cases, but I believe that there are several most common solutions that can help.
in addition to the current domain there are a bunch of others, is there any solution for showing the config with hiding all domains without specifying their name?
by the way does your site give 301 but can’t reach https version, or it doesn’t get http redirect even?
see network tab of your broweser debug menu
and for obvious reason you need to open port 443 on firewalls to send https page