Skip to content

Instantly share code, notes, and snippets.

@siliconcow
Created February 11, 2016 18:24
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 siliconcow/bd9e4ac5fa994c834dc5 to your computer and use it in GitHub Desktop.
Save siliconcow/bd9e4ac5fa994c834dc5 to your computer and use it in GitHub Desktop.
confd nginx difficulties
location /{{ if (exists (printf "/orca/router/routes/%s" .)) }}{{getv (printf "/orca/router/routes/%s")}}/ {{else}}{{ . }}{{end}} {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment