摘要: nginx二级目录高级配置: location ~ .*\.(html)$ { expires 1m; error_page 404 = /test/index.html; access_log /data/log/test.access.log main; } location ~ .*\.(js 阅读全文
posted @ 2019-12-09 17:13 Done、 阅读(2252) 评论(0) 推荐(0) 编辑
摘要: # 安装证书生成软件 wget https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 -O /usr/bin/cfssl wget https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 -O /usr/bin/cfssl 阅读全文
posted @ 2019-12-09 16:40 Done、 阅读(330) 评论(0) 推荐(0) 编辑
摘要: # etcd下载地址 https://github.com/etcd-io/etcd/tags wget https://github.com/etcd-io/etcd/releases/download/v3.1.20/etcd-v3.1.20-linux-amd64.tar.gz # 创建etc 阅读全文
posted @ 2019-12-09 15:34 Done、 阅读(560) 评论(0) 推荐(0) 编辑