Skip to content

Instantly share code, notes, and snippets.

@darron
Created September 3, 2014 05:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darron/3f19aa600abf044b3918 to your computer and use it in GitHub Desktop.
Save darron/3f19aa600abf044b3918 to your computer and use it in GitHub Desktop.
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