Create a gist now

Instantly share code, notes, and snippets.

Consul.io config for octohost virtualhost.
upstream consul {
server 127.0.0.1:8500;
}
server {
listen 80;
listen 443 ssl spdy;
include /etc/nginx/ssl.conf;
server_name consul.example.com;
location / {
include /etc/nginx/location.conf;
proxy_pass http://consul;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment