与服务器一起的日子

  • mysql
  • linux
  • 高可用
  • nginx
http2
apache

web服务器启用http2.0

nginx开启HTTP2协议的办法 如果你是用官方的包安装的,无论是yum还是apt,只需要在配置文件里面的listen这一行添加http2就可以了,像下面那样就可以。如果你是编译的nginx,则需要在编译过程中添加参数 --with-http_v2_module server {listen 443 ssl http2;server_name localhost; ssl_certificate server.crt;ssl_certificate_key server.key;} Apache HTTP 开启H…

2019年11月24日 0条评论 801点热度 0人点赞 jhin 阅读全文

COPYRIGHT © 2024 与服务器一起的日子. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang