Skip to content

Instantly share code, notes, and snippets.

View vqiu's full-sized avatar
🌴
On vacation

shuhui.qiu vqiu

🌴
On vacation
View GitHub Profile
@vqiu
vqiu / Dockerfile
Created December 12, 2016 12:50 — forked from rosskukulinski/Dockerfile
Docker etcd/confd configuration of nginx
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
@vqiu
vqiu / ashleyrich.com
Created May 22, 2016 11:33 — forked from A5hleyRich/ashleyrich.com
Hosting WordPress Yourself Part 7
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;
}