上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页
摘要: location /private/ { auth_request /auth; ... } location = /auth { proxy_pass ... proxy_pass_request_body off; proxy_set_header Content-Length ""; prox 阅读全文
posted @ 2020-06-21 01:49 萱乐庆foreverlove 阅读(857) 评论(0) 推荐(0) 编辑
摘要: POST_READ SERVER_REWRITE FIND_CONFIG REWIRTE POST_REWIRITE PRE_ACCESS ACCESS POST_ACCESS PRECONTENT CONTENT LOG POST_READ 该阶段是在Nginx读取并解析完请求头(request 阅读全文
posted @ 2020-06-17 01:25 萱乐庆foreverlove 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 使用证书对站点进行 https改造的后,当客户端对web服务器发起请求时,第一步就是进行tls 握手。当客户端拿到证书时要对证书的有效性进行校验。以防止证书被吊销,当时频繁的去请求证书服务器的CRL 证书吊销表格时,会给证书站点造成压力,影响证书校验性能。 随着 OCSP 协议出现,减轻了证书站点的 阅读全文
posted @ 2020-06-14 18:43 萱乐庆foreverlove 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 1. 替换二进制文件(编译安装时路径要保持一直,否则新老版本nginx 无法共享同一个配置文件) 2. 向原nginx master 进程发送 USR2 信号。 master 进程pid 会进行mv 操作 重命名为 pid.old.bin master 进程用新的二进制文件启动新的 nginx ma 阅读全文
posted @ 2020-06-14 10:55 萱乐庆foreverlove 阅读(400) 评论(0) 推荐(0) 编辑
摘要: http 协议中 有四种 POST 提交数据方式 https://imququ.com/post/four-ways-to-post-data-in-http.html 当 curl 请求时 使用 --data 是无法将数据传递到body 体中的 POST http://www.example.co 阅读全文
posted @ 2020-06-03 23:17 萱乐庆foreverlove 阅读(423) 评论(0) 推荐(0) 编辑
摘要: dockerd --security-opt --security-opt="label=user:USER" Set the label user for the container --security-opt="label=role:ROLE" Set the label role for t 阅读全文
posted @ 2020-05-28 16:59 萱乐庆foreverlove 阅读(3041) 评论(0) 推荐(0) 编辑
摘要: 基于版本: Docker version 19.03.8 dockerd 参数列表 --add-runtime runtime Register an additional OCI compatible runtime (default []) --allow-nondistributable-ar 阅读全文
posted @ 2020-05-16 21:58 萱乐庆foreverlove 阅读(1752) 评论(0) 推荐(1) 编辑
摘要: 使用 nfs存储的一大 问题是 当nfs-server 宕机 或者 client and server 之间的网络出现问题,会造成client io hang 问题 umount -f -l /mnt/myfolder 阅读全文
posted @ 2020-04-17 19:35 萱乐庆foreverlove 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 需要两步操作 git branch --set-upstream-to=origin/yewu yewu git config --global push.default "upstream" 作完这两个步骤,会出现一下问题 [core] repositoryformatversion = 0 fi 阅读全文
posted @ 2020-03-18 18:03 萱乐庆foreverlove 阅读(1679) 评论(0) 推荐(0) 编辑
摘要: #!/bin/python #coding=utf-8 import requests import sys import json import time msg=sys.argv[1] with open('/tmp/log.txt','a+') as song: song.write(time 阅读全文
posted @ 2020-03-09 20:54 萱乐庆foreverlove 阅读(962) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页