capistrano-cookbook 0.0.3 → 0.0.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 192d0bf014509cb56e6c84c30fd8be3a76719913
|
4
|
+
data.tar.gz: 2e9ab7ae1a1190ab67a3163d2dbc4e0f823296d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0cefe15ebd19d73f8db9c3708f39e21c4a4d1164e97193b4dc279397ffbdd3cadbf33cd1bfa86792a17ea6abe5bce4bb334ba9573f79acf424aba39c6ea804e
|
7
|
+
data.tar.gz: d62605469084670f78a9184e7274bd146283ab8b66817e491371b85b38329884e9ee2929b710fcd6eb798a186d3a26d457f29f6eaae26df1d58ad85b9a993986
|
@@ -1,4 +1,4 @@
|
|
1
|
-
upstream
|
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 @
|
17
|
-
location @
|
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;
|