Can't connect over SSL

I just migrated my GitLab install to a new server, and I’m stuck on getting SSL working. I followed this guide to configure SSL with Let’s Encrypt, but after changing my external URL to https, and running gitlab-ctl reconfigure, I get Error executing action restart on resource 'service[nginx]' when nginx tries to restart. I’ve tried running netstat -ntlp | grep LISTEN, which does not list port 443. I’ve pasted the output of this below.

(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:8060            0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:9121          0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:9090          0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:9187          0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:9100          0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:9168          0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -
tcp6       0      0 ::1:9168                :::*                    LISTEN      -
tcp6       0      0 :::22                   :::*                    LISTEN      -

The only thing I can think of is that I installed apache2 on this server earlier today, but I’ve since uninstalled it. Could that have messed something up with the SSL?

I figured out the problem; I had set ssl_client_certificate to the certificate path instead of ssl_certificate.