Created
September 3, 2014 05:44
-
-
Save darron/3f19aa600abf044b3918 to your computer and use it in GitHub Desktop.
Consul.io config for octohost virtualhost.
This file contains 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
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