rails_pwnerer 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +2 -0
- data/lib/rails_pwnerer/app/nginx_config.rb +3 -3
- data/rails_pwnerer.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b69ec86608c00c7c202603d1c1bed65ecc097abd
|
4
|
+
data.tar.gz: 09b9260cc66875013a7fbc7892032525f0e80a43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3b03fa68980ad1c9486f6e9e1474afabf5c0ed9df6442a21d611e3c70ddd035161ab4e2084c6286e78d27f21fe16497ab4d1a3fccfea776437394c89b0eb698
|
7
|
+
data.tar.gz: f59003b1f26ed59f87672c2e7ecaa98124f05ceae30818e19c52e412cd2331559783430572a6ed93a360e4de2d31e9b1925378ef3f77599c6461a13f5ed81d25
|
data/CHANGELOG
CHANGED
@@ -22,11 +22,11 @@ class RailsPwnerer::App::NginxConfig
|
|
22
22
|
app_name + '.' + instance_name)
|
23
23
|
File.open(nginx_config, 'w') do |f|
|
24
24
|
# link to the frontends
|
25
|
-
f << "
|
25
|
+
f << "upstream #{app_name}_#{instance_name} {\n"
|
26
26
|
RailsPwnerer::Config.app_frontends(app_name, instance_name).times do |instance|
|
27
|
-
f << "
|
27
|
+
f << " server 127.0.0.1:#{first_port + instance};\n"
|
28
28
|
end
|
29
|
-
f << "
|
29
|
+
f << "}\n\n"
|
30
30
|
|
31
31
|
# server configuration -- big and ugly
|
32
32
|
f << <<NGINX_CONFIG
|
data/rails_pwnerer.gemspec
CHANGED