Last active
December 29, 2015 11:39
-
-
Save VeggieMeat/7665216 to your computer and use it in GitHub Desktop.
Nginx vhost config for Sensu Dashboard
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 sensu_dashboard { | |
server 127.0.0.1:8080; | |
} | |
server { | |
listen *:80 ; | |
server_name sensu.example.com; | |
access_log /var/log/nginx/sensu.example.com.access.log; | |
location / { | |
try_files $uri @sensu_dashboard; | |
} | |
location @sensu_dashboard { | |
proxy_pass http://sensu_dashboard; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment