前言
在配置nginx的配置文件时,老是能看到有的配置的server块里listen监听的是80或443端口
然后查了下,简单得出个结论:
端口80是用于http服务
端口443用于https服务
参考链接
https://blog.csdn.net/weixin_39979119/article/details/88830477
https://product.pconline.com.cn/itbk/software/dnyw/1707/9626827.html
在配置nginx的配置文件时,老是能看到有的配置的server块里listen监听的是80或443端口
然后查了下,简单得出个结论:
端口80是用于http服务
端口443用于https服务
https://blog.csdn.net/weixin_39979119/article/details/88830477
https://product.pconline.com.cn/itbk/software/dnyw/1707/9626827.html