![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SSL
木子李0531
金无足赤,人无完人
展开
-
centos7 修改ssh端口
vim /etc/ssh/sshd_config 增加 Port 60022 查看SELinux开放给ssh使用的端口 semanage port -l|grep ssh 给SSH开放60022端口,添加该端口 semanage port -a -t ssh_port_t -p tcp 60022 查看是否添加成功 semanage port -l|grep ssh 查看防火墙是否开启了60022端口 firewall-cmd --permanent --query-port=..原创 2021-06-23 12:54:36 · 330 阅读 · 0 评论 -
Nginx 配置ssl http跳转https
server { listen 80; server_name www.aaa.com aaa.com; rewrite ^(.*)$ https://${server_name}$1 permanent; location / { root html; index index.html index.htm; } } server { list.原创 2021-05-27 17:34:03 · 134 阅读 · 0 评论