-
安装 etcd <……略……>
-
往 etcd 添加 KV数据,配置文件生成用
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM <private repo> | |
MAINTAINER Ross Kukulinski "[email protected]" | |
ADD nginx.toml /etc/confd/conf.d/nginx.toml | |
ADD templates/nginx.tmpl /etc/confd/templates/nginx.tmpl | |
ADD confd-watch /usr/local/bin/confd-watch | |
RUN chmod +x /usr/local/bin/confd-watch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fastcgi_cache_path /home/ashley/ashleyrich.com/cache levels=1:2 keys_zone=ashleyrich.com:100m inactive=60m; | |
fastcgi_cache_key “$scheme$request_method$host$request_uri”; | |
server { | |
listen 80; | |
server_name pluto.ashleyrich.com; | |
return 301 https://$server_name$request_uri; | |
} |
NewerOlder