Skip to content

Instantly share code, notes, and snippets.

@Openpalm
Last active November 13, 2018 09:42
Show Gist options
  • Save Openpalm/918d9e9d0d31d5ab68fe92c905d795b4 to your computer and use it in GitHub Desktop.
Save Openpalm/918d9e9d0d31d5ab68fe92c905d795b4 to your computer and use it in GitHub Desktop.
@(cloud: Map[String, Seq[(String, String)]])
@for((s,urls) <- cloud) {
upstream @s { <-- problem
@for(url <- urls) {
}
}
server {
location / {
proxy_pass http://@s/;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment