摘要: <button type="button" class="fb-btn" id="google"> <img src="google.jpg" class="images" alt="google"> </button> <button type="button" id="facebook" cla 阅读全文
posted @ 2020-03-27 10:49 祈愿仙帝 阅读(1441) 评论(0) 推荐(0) 编辑
摘要: 很多站长在部署了https后,默认访问的网站仍然是http,需要手动去访问https才行。 今天小白在这个告诉大家一个简单的代码,在nginx站点配置中加一段简单的判断跳转就可以实现,不需要使用伪静态跳转。 在nginx的站点配置中加上一段 if ($server_port !~ 443){ rew 阅读全文
posted @ 2020-03-27 10:39 祈愿仙帝 阅读(620) 评论(0) 推荐(0) 编辑