fuhai0815

server
{
listen 80;
listen 443 ssl;
server_name www.iamle.com;
index index.html index.htm index.php;
root /home/wwwroot/www.iamle.com/;
#ssl on; 这里要注释掉
ssl_certificate /usr/local/nginx/conf/ssl/www_iamle_com.crt;
ssl_certificate_key /usr/local/nginx/conf/ssl/www_iamle_com.key;

#以下配置省略...
}

相关链接:

http://nginx.org/en/docs/http/configuring_https_servers.html#single_http_https_server

https://www.iamle.com/archives/1231.html

分类:

技术点:

相关文章:

  • 2021-06-05
  • 2021-12-10
  • 2021-05-02
  • 2021-08-03
  • 2022-01-02
  • 2021-05-18
  • 2021-09-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2021-12-13
  • 2022-01-02
相关资源
相似解决方案