nginx 去掉了TLSv1.0 但是还是一直支持
发表于|更新于|php
|浏览量:
nginx存在多个虚拟机时候
必须所有虚拟机都去掉才会生效
文章作者: developer
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Dev!
相关推荐
2020-04-16
docker nginx 获取真实 客户端 ip
解决办法修改ports例如如下服务 123456789101112131415nginx: image: "nginx:alpine" ports: - target: 80 published: 80 protocol: tcp mode: host - target: 443 published: 443 protocol: tcp mode: host networks: backend: aliases: - "nginx" 其他介绍原文地址https://blog.csdn.net/fengyilin_henu/article/details/84912763 host模式和ingress模式介绍http://c.biancheng.net/view/3195.html 正常发布服务后,使用host模式更新服务 12345docker service update app_nginx \ --publish-rm 8...
2020-06-29
apache nginx header 删除 配置
apache 删除响应header 1Header unset Access-Control-Allow-Origin apache 增加header 1Header set Access-Control-Allow-Methods * nginx 增加header 1add_header Access-Control-Allow-Origin $http_origin always;
2020-06-24
nginx 配置 转发
1234567server { listen 80; server_name geo.datav.aliyun.com; location / { proxy_pass http://geo.datav.aliyun.com; }}
2019-08-11
nginx 封禁ip 和 ip段
增加黑名单在nginx.conf同目录新建nginx.blockip.conf 引入配置可以放在虚拟机配置里,这里放在全局的nginx.confhttp里最后增加一行 12# 封禁ipinclude nginx.blockip.conf; 配置黑名单12deny 5.188.0.0/16;deny 5.188.210.5; 第一个是封禁网段,16代表ip转换为2进制后,前16位有效,只要前16位相同就会被封禁第二个是封禁具体ip
2019-03-01
nginx 访问某个目录转发到固定域名并去掉目录名
123456789location /exhibition/ { index index.html index.htm; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; proxy_pass http://127.0.0.1:8080/; break;} 注意要点1location /exhibition/ 这个后一个斜线要加,否则请求到后端会多一个/ 1proxy_pass http://127.0.0.1:8080/; 这个后一个斜线要加,否则会带上目录名
公告
This is my Blog