Skip to content

Instantly share code, notes, and snippets.

@evalphobia
Created February 23, 2016 12:02
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 evalphobia/cb573fc696cebcf70649 to your computer and use it in GitHub Desktop.
Save evalphobia/cb573fc696cebcf70649 to your computer and use it in GitHub Desktop.
nginx config
# https://cachethq.io/
upstream _cachet {
# docker's ip and port
server 127.0.0.1:8001;
}
server {
listen 80;
server_name cachet.example.com;
location / {
allow 127.0.0.1;
deny all;
proxy_pass http://_cachet;
proxy_set_header host $host;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment