Please refer to the configuration files: https://gist.github.com/nigelbabu/076ad12c13b2071de8e1 Related references: (Chinese) Let’s Encrypt 的 SSL 憑證安裝 How To Secure Nginx with Let’s Encrypt on Ubuntu 14.04