capistrano-cookbook 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4599c6d635ac6ff48e59e5d794ba1ec07bba5d61
4
- data.tar.gz: b07254325dd5987a1a0446fa34d0055db9132d71
3
+ metadata.gz: 192d0bf014509cb56e6c84c30fd8be3a76719913
4
+ data.tar.gz: 2e9ab7ae1a1190ab67a3163d2dbc4e0f823296d5
5
5
  SHA512:
6
- metadata.gz: 56c75d2b77dc65b912b5e34bb5185957ba5c18a339c45a991b26b7a51c8c6ccd5152db2c22c692ed488e3db20d5c653bf00fb888598be3e3ae8cd6d572587f78
7
- data.tar.gz: 405662ca64ed9af11014b04002fac15a020271b4e448552b74c97358a8b31998b902f18c44d0d5f47a3be94a4e46e6698e14db838a51304c54b3e0c9f73b8ef4
6
+ metadata.gz: e0cefe15ebd19d73f8db9c3708f39e21c4a4d1164e97193b4dc279397ffbdd3cadbf33cd1bfa86792a17ea6abe5bce4bb334ba9573f79acf424aba39c6ea804e
7
+ data.tar.gz: d62605469084670f78a9184e7274bd146283ab8b66817e491371b85b38329884e9ee2929b710fcd6eb798a186d3a26d457f29f6eaae26df1d58ad85b9a993986
@@ -1,4 +1,4 @@
1
- upstream unicorn {
1
+ upstream unicorn_<%= fetch(:full_app_name) %> {
2
2
  server unix:/tmp/unicorn.<%= fetch(:full_app_name) %>.sock fail_timeout=0;
3
3
  }
4
4
 
@@ -13,8 +13,8 @@ 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_<%= fetch(:full_app_name) %>;
17
+ location @unicorn_<%= fetch(:full_app_name) %> {
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;
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Cookbook
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-cookbook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Dixon