禁止浏览器访问http自动跳转https
有时候我们访问https站点的http子集域名时,会导致自动跳转到https,导致我们方式站点失败,从而无法使用该站点功能.那么这是什么原因导致的呢?其实原理很简单,这是因为我们浏览器启用了domain security policies(也就是hsts安全),导致http网站自动跳转到了https…
- 943
- 0
- 阅读全文
有时候我们访问https站点的http子集域名时,会导致自动跳转到https,导致我们方式站点失败,从而无法使用该站点功能.那么这是什么原因导致的呢?其实原理很简单,这是因为我们浏览器启用了domain security policies(也就是hsts安全),导致http网站自动跳转到了https…
http,https,sh 脚本使用 export http_proxy=http://<SquidHost>:<SquidPort> export https_proxy=https://<SquidHost>:<SquidPort> pip 使用(…
Squid 安装部署 安装 httpd-tools 依赖 yum install httpd-tools -y 安装 squid 依赖 yum install squid -y Squid 服务配置 创建 squid 授权用户 htpasswd -cd /data/squid/shicheng sh…
Shadowsocks安装部署 安装 python setuptools 依赖 yum install python-setuptools 安装 pip 更新 easy_install pip && pip install --upgrade pip 安装 git yum insta…
启动OpenVPN服务 systemctl start openvpn@server 停止OpenVPN服务 systemctl stop openvpn@server 重启OpenVPN服务 systemctl restart openvpn@server 设置开机启动OpenVPN服务 syst…
Linux 使用OpenVPN 安装OpenVPN yum install -y openvpn 连接OpenVPN openvpn shicheng.ovpn shicheng.ovpn:连接VPN客户端配置文件 Windows 使用OpenVPN 下载 OpenVPN GUI 安装文件:下载地址…
OpenVPN安装部署 安装 openssl 依赖 yum -y install openssl openssl-devel 安装 lzo 依赖 yum -y install lzo 安装 openvpn 以及加密工具 yum -y install openvpn easy-rsa OpenVPN …
今天在使用服务器的ll命令的时候罗列出来的文件日期无法进行快速的查看于定位,默认显示格式如下图: 这样的时间显示导致了无法直接去定位文件的修改日期,那么我们使用export命令去临时修改一下文件的日期,运行以下命令进行修改: export TIME_STYLE='+%Y-%m-%d %H:%M:%S…