nginxConfiguring HTTPS servers To configure an HTTPS server, the ssl parameter must be enabled on listening sockets in the server block, and the locations of the server certificate and private key files 更多内容请查看https://nginx.org/en/docs/http/configuring_https_servers.html