Last active
November 13, 2018 09:42
-
-
Save Openpalm/918d9e9d0d31d5ab68fe92c905d795b4 to your computer and use it in GitHub Desktop.
Revisions
-
Openpalm revised this gist
Nov 13, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -3,8 +3,8 @@ @for((s,urls) <- cloud) { upstream @s { <-- problem @for(url <- urls) { } } -
Openpalm created this gist
Nov 13, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ @(cloud: Map[String, Seq[(String, String)]]) @for((s,urls) <- cloud) { upstream @s { @for(url <- urls) { } } server { location / { proxy_pass http://@s/; } } }