Last active
November 13, 2018 09:42
-
-
Save Openpalm/918d9e9d0d31d5ab68fe92c905d795b4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| @(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