I realized that the public IP address given by my Internet Service Provider changed:
I then updated it in the NameCheap’s domain account:
Then, ran the webpage in the server:
and then r-ran the test in the Server:
marco@pc01:~/go/src/MyPage$ sudo certbot certonly --webroot -w /home/marco/go/src/MyPage/ -d ggc.world -d www.ggc.world
[sudo] password for marco:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for ggc.world
http-01 challenge for www.ggc.world
Using the webroot path /home/marco/go/src/MyPage for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. ggc.world (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://ggc.world/.well-known/acme-challenge/qPHQ8Q2nVBf8PX1qmhlN29f6SOxGiTPlb_gsbdtDaLw [109.116.160.164]: “\r\n504 Gateway Time-out\r\n\r\n
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
As far as I see in the available information online and in some books, proxy configuration within nginx’s default.conf is the only way to use NGINX as webserver for Beego (Golang’s framework):
Tomorrow I will deepen my knowledge about nginx configuration and nginx proxy configuration, in order to firmly grasp how to adapt it, and I will be back