nginx http/2 配置
2016-10-17 本文已影响21人
暴风鱼
$ nginx -V # 查看是否有--with-http_v2_module
如果没有,卸载后重装nginx:
$ brew install --with-http2 nginx
测试配置的语法是否正确:
$ nginx -t

$ nginx -V # 查看是否有--with-http_v2_module
如果没有,卸载后重装nginx:
$ brew install --with-http2 nginx
测试配置的语法是否正确:
$ nginx -t