Nginx
嫁狗狮
嫁狗狮
展开
-
在Nginx中,怎么把http全转发为https
1、将所有的http请求转暖换为带www的https请求server { listen [::]:80; listen 80; server_name yourdomain.com www.yourdomain.com; # redirect http to https www return 301 https://www.yourdomain.com$reque翻译 2017-04-13 17:52:07 · 896 阅读 · 0 评论 -
-bash: wget: command not found 解决方法
在Linux操作系统中,我们会经常要用到wget下载文件。wget非常稳定,它在带宽很窄的情况下和不稳定网络中有很强的适应性。在linux中使用wget时,若报-bash: wget: command not found,则表明没有安装wget,需要安装,安装命令如下:yum -y install wget安装完成即可以使用。转载 2017-04-21 14:42:12 · 969 阅读 · 0 评论