These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I solve the problem by changing a line in /etc/nginx/nginx.conf file as follows:
include /etc/nginx/sites-enabled/.; // files
It should be:
include /etc/nginx/sites-enabled/*; //directories
I traced this error to Let’s Encrypt on Ubuntu 18.04. Let’s Encrypt on Ubuntu 16 updates the line correctly, but 18.04 did not. The addition (.*) causes all sort of connection issues.
I hope it helps, although it is belated.
Were you able to solve it @RizkiR? I’m having similar issue right now.
Click below to sign up and get $100 of credit to try our products over 60 days!
This comment has been deleted