跳转到内容

SRE笔记

  • 密码
    • 短链
  • 服务器
  • 关于

nginx标签存档订阅

nginx代理webscoket

nginx配置,server域: location ^~/ws { proxy_pass http:… 继续阅读 nginx代理webscoket

  • 发表于: 2019-07-22 2020-12-03
  • 作者: sre
  • 分类: SRE
  • 标签: html, nginx, proxy
  • 发表评论: nginx代理webscoket

nginx日志接入logstash

input { file { type => “log” path => “/usr/l… 继续阅读 nginx日志接入logstash

  • 发表于: 2019-07-22 2021-04-02
  • 作者: sre
  • 分类: SRE
  • 标签: nginx
  • 发表评论: nginx日志接入logstash

kubernetes部署verynginx管理工具

构建VeryNginx docker 镜像 git clone https://github.com… 继续阅读 kubernetes部署verynginx管理工具

  • 发表于: 2019-06-13 2021-04-02
  • 作者: sre
  • 分类: SRE
  • 标签: Docker, kubernetes, nginx
  • 发表评论: kubernetes部署verynginx管理工具

nginx 413 Request Entity Too Large

error parsing HTTP 413 response body: invalid char… 继续阅读 nginx 413 Request Entity Too Large

  • 发表于: 2019-06-12 2021-04-02
  • 作者: sre
  • 分类: SRE
  • 标签: html, http, https, nginx
  • 发表评论: nginx 413 Request Entity Too Large

配置 nginx 发送 X-Frame-Options 响应头

把下面这行添加到 ‘http’, ‘server’ 或者 ‘location’ 的配置中: add_… 继续阅读 配置 nginx 发送 X-Frame-Options 响应头

  • 发表于: 2019-05-14 2021-04-02
  • 作者: joker
  • 分类: SRE
  • 标签: http, https, nginx
  • 发表评论: 配置 nginx 发送 X-Frame-Options 响应头

nginx过滤请求中的关键词

#get请求 全局过滤 %0d%0a set $is_get 0; set $keywords_fo… 继续阅读 nginx过滤请求中的关键词

  • 发表于: 2019-05-14 2021-04-02
  • 作者: joker
  • 分类: SRE
  • 标签: https, nginx
  • 发表评论: nginx过滤请求中的关键词

nginx配置referers白名单

#referers白名单 valid_referers none blocked *.test.co… 继续阅读 nginx配置referers白名单

  • 发表于: 2019-05-14 2020-12-03
  • 作者: joker
  • 分类: SRE
  • 标签: https, nginx, post, s3
  • 发表评论: nginx配置referers白名单

修改nginx请求中传参名称

#把p改为mp4t if ($args ~ “(.+)&mp4t=([^&]+)&a… 继续阅读 修改nginx请求中传参名称

  • 发表于: 2019-05-14 2021-04-02
  • 作者: joker
  • 分类: SRE
  • 标签: https, nginx
  • 发表评论: 修改nginx请求中传参名称

限制nginx请求方法method

#使用http动词篡改的认证旁路 入口nginx做限制 if ($request_method !~… 继续阅读 限制nginx请求方法method

  • 发表于: 2019-05-14 2021-04-02
  • 作者: joker
  • 分类: SRE
  • 标签: http, https, nginx
  • 发表评论: 限制nginx请求方法method

nginx将cookie置空

#$cookie_WASPostParam参数置空 if($cookie_WASPostParam … 继续阅读 nginx将cookie置空

  • 发表于: 2019-05-14 2021-04-02
  • 作者: joker
  • 分类: SRE
  • 标签: cookie, https, nginx
  • 发表评论: nginx将cookie置空

recv() failed (104: Connection reset by peer) while reading response header from upstream

nginx http模块添加以下参数配置: client_header_buffer_size 64… 继续阅读 recv() failed (104: Connection reset by peer) while reading response header from upstream

  • 发表于: 2019-05-08 2021-04-02
  • 作者: joker
  • 分类: SRE
  • 标签: https, nginx, proxy
  • 发表评论: recv() failed (104: Connection reset by peer) while reading response header from upstream

docker安装lnmp

左大使出品 一、添加 别名:vim /root/.bashrc alias grep=’grep -… 继续阅读 docker安装lnmp

  • 发表于: 2019-04-22 2021-04-02
  • 作者: 站点默认
  • 分类: SRE
  • 标签: Docker, Linux, MySQL, nginx, php, redis

env: /etc/init.d/nginx: No such file or directory

nginx运行文件出错env: /etc/init.d/nginx: No such file or… 继续阅读 env: /etc/init.d/nginx: No such file or directory

  • 发表于: 2019-04-02 2021-04-02
  • 作者: joker
  • 分类: SRE
  • 标签: https, Linux, nginx
  • 发表评论: env: /etc/init.d/nginx: No such file or directory

kubernetes调度亲和性

官方文档:https://kubernetes.io/docs/concepts/configura… 继续阅读 kubernetes调度亲和性

  • 发表于: 2019-03-28 2021-03-25
  • 作者: joker
  • 分类: SRE
  • 标签: affinity, I/O, kubernetes, nginx, node
  • 发表评论: kubernetes调度亲和性

nginx tcp 转发实现ip_hash和ssl

stream { upstream backend { hash $remote_addr cons… 继续阅读 nginx tcp 转发实现ip_hash和ssl

  • 发表于: 2019-03-18 2021-04-02
  • 作者: joker
  • 分类: SRE
  • 标签: hash, https, nginx, proxy, ssl, tcp
  • 发表评论: nginx tcp 转发实现ip_hash和ssl

关闭 docker remote api 端口2375

172.31.12.58-db-nginx-redis http://192.168.2.56:23… 继续阅读 关闭 docker remote api 端口2375

  • 发表于: 2019-03-12 2020-12-03
  • 作者: joker
  • 分类: SRE
  • 标签: Docker, harbor, http, https, nginx, redis, vim, 安全
  • 发表评论: 关闭 docker remote api 端口2375

docker镜像导入导出

save、load用于从images导入导出镜像。 export、import用于从containe… 继续阅读 docker镜像导入导出

  • 发表于: 2019-03-01 2021-04-01
  • 作者: joker
  • 分类: SRE
  • 标签: Docker, nginx, tar
  • 发表评论: docker镜像导入导出

metallb 为私有Kubernetes集群创建LoadBalancer服务-不支持IPVS

Metallb给私有 Kubernetes 用户带来了一个方便、可用的LoadBalancer软件解… 继续阅读 metallb 为私有Kubernetes集群创建LoadBalancer服务-不支持IPVS

  • 发表于: 2019-02-19 2020-12-30
  • 作者: joker
  • 分类: SRE
  • 标签: https, I/O, k8s, kubernetes, nginx, yaml, 网络
  • metallb 为私有Kubernetes集群创建LoadBalancer服务-不支持IPVS有 1 条评论

keepalived快速安装

下载地址:http://www.keepalived.org/download.html cd wg… 继续阅读 keepalived快速安装

  • 发表于: 2019-02-14 2019-02-14
  • 作者: joker
  • 分类: SRE
  • 标签: bash, http, keepalived, Linux, nginx, tar, 工具, 网络
  • 发表评论: keepalived快速安装

用initd服务化nginx,支持centos6,7和ubuntu

vim /etc/init.d/nginx #! /bin/bash #2019-02-12 PAT… 继续阅读 用initd服务化nginx,支持centos6,7和ubuntu

  • 发表于: 2019-02-12 2019-02-12
  • 作者: joker
  • 分类: SRE
  • 标签: grep, Linux, nginx, ubuntu
  • 发表评论: 用initd服务化nginx,支持centos6,7和ubuntu

分页

上一页 页码: 1 … 页码: 3 页码: 4 页码: 5 页码: 6 页码: 7 页码: 8 页码: 9 页码: 10 下一页

搜索

搜索:

近期评论

  • 周周 发表在《Kubernetes部署NextCloud网盘》
  • mysql m-s via gtid – SRE笔记 发表在《MySQL SET GTID_NEXT》
  • kangder 发表在《Kubernetes部署NextCloud网盘》
  • xs 发表在《Kubernetes部署NextCloud网盘》
  • test 发表在《gin不转义html标签》

标签

aws (15) bash (1123) Blockchain (28) centos (28) Docker (105) elasticsearch (26) eth (34) fil (39) go (129) golang (154) Grafana (13) hpc (15) http (299) https (1999) ingress (14) iptables (20) java (75) JVM (20) kubernetes (309) Linux (546) lotus (30) mongoDB (41) MySQL (184) nginx (112) php (25) python (148) redis (34) s3 (75) shell (20) springboot (32) tcp (69) tomcat (15) ubuntu (31) vue (18) windows (42) wordpress (14) zabbix (37) 夏小胖 (31) 安全 (55) 工具 (451) 折腾 (24) 推荐 (15) 硬件 (61) 网络 (246) 资源 (49)

归档

  • 2024 年 12 月
  • 2024 年 11 月
  • 2024 年 10 月
  • 2024 年 9 月
  • 2024 年 8 月
  • 2024 年 7 月
  • 2024 年 6 月
  • 2024 年 5 月
  • 2024 年 4 月
  • 2024 年 3 月
  • 2024 年 2 月
  • 2024 年 1 月
  • 2023 年 12 月
  • 2023 年 11 月
  • 2023 年 10 月
  • 2023 年 9 月
  • 2023 年 8 月
  • 2023 年 7 月
  • 2023 年 6 月
  • 2023 年 5 月
  • 2023 年 4 月
  • 2023 年 3 月
  • 2023 年 2 月
  • 2023 年 1 月
  • 2022 年 12 月
  • 2022 年 11 月
  • 2022 年 10 月
  • 2022 年 9 月
  • 2022 年 8 月
  • 2022 年 7 月
  • 2022 年 6 月
  • 2022 年 5 月
  • 2022 年 4 月
  • 2022 年 3 月
  • 2022 年 2 月
  • 2022 年 1 月
  • 2021 年 12 月
  • 2021 年 11 月
  • 2021 年 10 月
  • 2021 年 9 月
  • 2021 年 8 月
  • 2021 年 7 月
  • 2021 年 6 月
  • 2021 年 5 月
  • 2021 年 4 月
  • 2021 年 3 月
  • 2021 年 2 月
  • 2021 年 1 月
  • 2020 年 12 月
  • 2020 年 11 月
  • 2020 年 10 月
  • 2020 年 9 月
  • 2020 年 8 月
  • 2020 年 7 月
  • 2020 年 6 月
  • 2020 年 5 月
  • 2020 年 4 月
  • 2020 年 3 月
  • 2020 年 2 月
  • 2020 年 1 月
  • 2019 年 12 月
  • 2019 年 11 月
  • 2019 年 10 月
  • 2019 年 9 月
  • 2019 年 8 月
  • 2019 年 7 月
  • 2019 年 6 月
  • 2019 年 5 月
  • 2019 年 4 月
  • 2019 年 3 月
  • 2019 年 2 月
  • 2019 年 1 月
  • 2018 年 12 月
  • 2018 年 11 月
  • 2018 年 10 月
  • 2018 年 9 月
  • 2018 年 8 月
  • 2018 年 7 月
  • 2018 年 6 月
  • 2018 年 5 月
  • 2018 年 4 月
  • 2018 年 3 月
  • 2018 年 2 月
  • 2018 年 1 月
  • 2017 年 12 月
  • 2017 年 11 月
  • 2017 年 10 月
  • 2017 年 8 月
  • 2017 年 7 月
  • 2017 年 6 月
  • 2017 年 5 月
  • 2017 年 4 月
  • 2017 年 3 月
  • 2017 年 2 月
  • 2017 年 1 月
  • 2016 年 12 月
  • 2016 年 11 月
  • 2016 年 10 月
  • 2016 年 9 月
  • 2016 年 8 月
  • 2016 年 7 月
  • 2016 年 6 月
  • 2016 年 5 月
  • 2016 年 4 月
  • 2016 年 3 月
  • 2016 年 2 月
  • 2016 年 1 月
  • 2015 年 12 月
  • 2015 年 10 月
  • 2015 年 9 月
  • 2015 年 8 月
  • 2015 年 7 月
  • 2015 年 6 月
  • 2015 年 5 月
  • 2015 年 4 月
  • 2015 年 3 月
  • 2015 年 2 月
  • 2015 年 1 月
  • 2014 年 12 月
  • 2014 年 11 月
  • 2014 年 10 月
  • 2014 年 9 月
  • 2014 年 8 月
  • 2014 年 7 月
  • 2014 年 6 月
  • 2014 年 5 月
  • 2014 年 2 月