首页 > TAG信息列表 > htttps

nginx 添加htttps服务器

  注意:server_name 多个域名时用空格隔开,否则可能报“could not build server_names_hash, you should increase server_names_hash_bucket_size”(两个域名使用443端口时) server { listen 80; server_name www.xxx.com; rewrite ^(.*) https://$server_name$1 p

宝塔强制开启htttps 之后页面无法被访问

   这时候看一下面板的安全    这时候可以看见端口在开着,但是你需要将它删除重新添加才会生效。 气死我了,找了好久才发现