sam*_*bua 34 macos ssl configuration homebrew nginx
NGINX升级后v1.15.2开始收到警告.
nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /usr/local/etc/nginx/sites-enabled/confid-file-name:8
第8行是哪里 ssl on;
Tha*_*Van 74
使用 :
listen 443 ssl;
Run Code Online (Sandbox Code Playgroud)
并注释或删除:
# ssl on;
Run Code Online (Sandbox Code Playgroud)
然后再检查nginx -t一下
| 归档时间: |
|
| 查看次数: |
28314 次 |
| 最近记录: |