米狗

  • kubernets
  • docker
  • AWS
  • linux
  • nginx
Kratos

未分类

1类户、2类户、3类户

网上收集的1类户、2类户、3类户。

2022年11月4日 0条评论 657点热度 0人点赞 duhongjun 阅读全文
nginx

nginx基础安全配置

网站运行过程中通常会遇到部分安全问题,通过nginx的add_header可以达到部分安全防护配置需求,常规安全配置参考如下,设置完毕后可以通过安全扫描工具进行扫描,附上免费的安全扫描网站。 https://www.immuniweb.com/websec/ #设置跨域支持 add_header Access-Control-Allow-Origin "*"; #设置网站https强制访问 add_header Strict-Transport-Security "max-age=63072000; include…

2022年11月3日 0条评论 672点热度 0人点赞 duhongjun 阅读全文
linux

linux 修改时区

sudo timedatectl set-timezone 'Asia/Shanghai' 亚洲时区参考如下: Please select a country whose clocks agree with yours. 1) Afghanistan 29) Kyrgyzstan 2) Antarctica 30) Laos 3) Armenia 31) Lebanon 4) Azerbaijan 32) Macau 5) Bahrain 33) Malaysia 6) Bangladesh 34) Mongoli…

2022年10月31日 0条评论 658点热度 0人点赞 duhongjun 阅读全文
AWS

AWS CloudFront配置说明

AWS CloudFront介绍 AWS CloudFront是Amazon提供的针对网站缓存、加速服务,利用AWS在全球提供的缓存站点,为用户提供网站静态资源加速服务,提升网站体验。CloudFront与国内大部分CDN服务商类似,提供类似静态文件、JS、图片、视频等加速服务,按量付费。 AWS CertManager是AWS云提供的用于管理证书的服务,可以管理AWS自身签名的私有证书、公有云证书或第三方申请的证书,其中使用AWS签发的公有云证书可以免费使用在AWS官方服务,无法导出证书。 CloudFront若…

2022年10月28日 0条评论 1227点热度 0人点赞 duhongjun 阅读全文
未分类

ansible-tower reset admin password

[root@ansible ~]# tower- tower-manage tower-python [root@ansible ~]# tower-manage changepassword admin Changing password for user 'admin' Password: Password (again): Password changed successfully for user 'admin' [root@ansible ~]#

2022年10月27日 0条评论 558点热度 0人点赞 duhongjun 阅读全文
nginx

nginx健康检查

nginx提供健康检查功能,用于检测后端服务不可用时是否转发。 nginx开源版本提供被动健康检查,即应用调用时来进行判断后端服务是否可用,时效性差点; nginx商业版提供主动健康检查,可以通过nginx内置模块来监控后端服务,若发现不可用时则从组内踢出,相对于被动更加智能灵活。 HTTP Health Checks Monitor the health of HTTP servers in an upstream group by sending periodic health checks, includin…

2022年10月19日 0条评论 731点热度 0人点赞 duhongjun 阅读全文
nginx

PKI通讯证书生成教程

1. 生成CA证书 mkdir ca ##创建根证书私钥 openssl genrsa -out ca/root-key.pem 1024 #创建证书请求 openssl req -new -out ca/ca-req.csr -key ca/root-key.pem #按照提示输入对应的内容 You are about to be asked to enter information that will be incorporated into your certificate request. What you…

2022年10月18日 0条评论 622点热度 0人点赞 duhongjun 阅读全文
kubernets

nginx-ingress常用配置

文章目录 一、ingress class 二、强制https 三、请求超时 四、跨域访问 五、限流 六、允许最大body 七、客户端白名单 八、默认服务 九、access log开关 十、snippet 添加自定义配置 (比如:新增请求头) 参考文档 : https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/ 一、ingress class 如果一个k8s 集群里面部署多个ingress contr…

2022年9月27日 0条评论 703点热度 0人点赞 duhongjun 阅读全文
docker

Using Docker Secrets With Docker Compose

Using Docker Secrets With Docker Compose Today I tried to create a docker secret for a Docker Swarm stack. Why? The secret is encrypted and you cannot read it. I’ve used … September 22, 2020Last modified: September 30, 2021 Tags that this post has been filed u…

2022年9月26日 0条评论 631点热度 0人点赞 duhongjun 阅读全文
AWS

AWS网址常用网址

AWS中国区域服务状态: https://status.amazonaws.cn/ AWS中国区域终端节点信息: https://docs.amazonaws.cn/aws/latest/userguide/endpoints-arns.html AWS中国区域服务列表: https://www.amazonaws.cn/en/about-aws/regional-product-services/?nc1=h_ls

2022年9月16日 0条评论 833点热度 0人点赞 duhongjun 阅读全文
12345…12

近期文章

  • nginx注册服务
  • vsftpd加密传输配置
  • vsftpd安装配置
  • keepalived注册服务
  • redis注册服务

近期评论

您尚未收到任何评论。

COPYRIGHT © 2024 米狗. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

沪ICP备2021019346号-1