Thin_Upstreams 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/Thin_Upstreams.rb +2 -1
- data/lib/Thin_Upstreams/version.rb +1 -1
- metadata +1 -1
data/lib/Thin_Upstreams.rb
CHANGED
@@ -15,7 +15,8 @@ def Thin_Upstreams glob = "./*/config/thin.yml"
|
|
15
15
|
ports = Thin_Upstreams.port_to_array(o["port"], o["servers"])
|
16
16
|
str << %~
|
17
17
|
upstream #{app_name} {
|
18
|
-
#{ ports.map { |i| "server 127.0.0.1:#{i}" }.join("
|
18
|
+
#{ ports.map { |i| "server 127.0.0.1:#{i}" }.join(";
|
19
|
+
") };
|
19
20
|
}
|
20
21
|
~
|
21
22
|
}
|