unicorn_deployer 0.0.1.6 → 0.0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1eb2df126fff34b91821fadc9647ed718c8634e2
4
- data.tar.gz: a5b74b5603a33012e8257aeb619e8160739e4e55
3
+ metadata.gz: 1d87d4efa6bd3708b6492116184964701ee44ad2
4
+ data.tar.gz: 0f328594f0d3d3de7055bd51859494e8d1052067
5
5
  SHA512:
6
- metadata.gz: 73fe9c304865491daf0dd477ce33f862c0a1fdee622bd456afc6498bdef036cbfef529d484ee6b2af6968f3360953bbdfdac642ffe641bdd02225b87bec122d7
7
- data.tar.gz: 29407adee6d57ffba7da4601caad691b6e25cc86b8841c37526f991de0cad2a60ffce3ea082e6d8eb6d0fda6f71c0a3702fd1ae17689a9c9e90a299262df4e8e
6
+ metadata.gz: f3ba42ce7e97daa659f63f79124db5d9dc7136c31db0bdfa04ee529f465887cfcd8040c0892ad75bc6b0624a379a7a0647e86aacac7bd8fa3613bc927852eb42
7
+ data.tar.gz: 49f22e95dbaeaa7e03eee27b31d17a979864aeaaf7fee20985d14145fb689169168fa0e8eec8f6fe9385cd59207223039c012e2ad85887e0907075a604665869
@@ -1,4 +1,4 @@
1
- upstream unicorn {
1
+ upstream unicorn_<%= @application %> {
2
2
  server unix:/tmp/unicorn.<%= @application %>.sock fail_timeout=0;
3
3
  }
4
4
 
@@ -13,12 +13,12 @@ server {
13
13
  add_header Cache-Control public;
14
14
  }
15
15
 
16
- try_files $uri/index.html $uri @unicorn;
17
- location @unicorn {
16
+ try_files $uri/index.html $uri @unicorn_<%= @application %>;
17
+ location @unicorn_<%= @application %> {
18
18
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
19
19
  proxy_set_header Host $http_host;
20
20
  proxy_redirect off;
21
- proxy_pass http://unicorn;
21
+ proxy_pass http://unicorn_<%= @application %>;
22
22
  }
23
23
 
24
24
  error_page 500 502 503 504 /500.html;
@@ -1,3 +1,3 @@
1
1
  module UnicornDeployer
2
- VERSION = "0.0.1.6"
2
+ VERSION = "0.0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicorn_deployer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.6
4
+ version: 0.0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ismail Akram