I am trying to setup LE on 2 servers using the following guide: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-14-04
One is my web server, I’ll call it EXAMPLE.COM. It is running Ubuntu 14 and Nginx with PHP-FPM. I followed the steps in the guide and it works fine. It is accessible from example.com and www.example.com
I am trying to get it working on a second (separate) server which functions as our mail server,that also runs Nginx to server up several small websites. I followed the same guide and it is not able to serve webpages. It tries redirecting https: to http: but the connection times out.
My /sites/enabled/default file is here: http://pastebin.com/h6YYcgdP
I left my code in the top of the file commented out for future reference. Not sure if it’s worth mentioning that the server runs Postfix and Dovecot to server emails.