I have a Gitlab instance which was set up using the official install script which uses the built in Nginx configuration. I have successfully gotten “Let’s Encrypt” to work on https://mysite.com however when I add www (www.mysite.com) to the domain I get an ssl error.
I could ask “Let’s Encrypt” to generate a new cert to include a sub domain like www or a wildcard however I would rather just not even bother having “www” at all. I am asking here since Gitlab is using it’s own instance of Nginx so I presume any settings can be done via the main Gitlab config file.
Is there something in the main Gitlab config file or do I need to edit a line via the built-in Nginx? Also, whatever the case may be, how would go about this technically speaking? This is my first Gitlab install and I am not as familar with Nginx as I am with Apache2.x so help would be much appreciated.
Thanks in advance!
P.S I am loving my Gitlab install and my friends love it too! Thanks to anyone who contributes to the project.