recipiez 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/recipiez/version.rb +1 -1
- data/recipes/templates/passenger_elb_vhost.erb +21 -0
- metadata +3 -2
data/lib/recipiez/version.rb
CHANGED
@@ -0,0 +1,21 @@
|
|
1
|
+
<VirtualHost *:80>
|
2
|
+
ServerName <%= app_domain %>
|
3
|
+
ServerAlias www.<%= app_domain %>
|
4
|
+
|
5
|
+
CustomLog /var/log/apache2/<%= app_domain %>-access.log combined
|
6
|
+
ErrorLog /var/log/apache2/<%= app_domain %>-error.log
|
7
|
+
|
8
|
+
DocumentRoot <%= deploy_to %>/current/public
|
9
|
+
RailsEnv <%= rails_env %>
|
10
|
+
|
11
|
+
<Directory <%= deploy_to %>/current/public>
|
12
|
+
AllowOverride all
|
13
|
+
Options -MultiViews
|
14
|
+
</Directory>
|
15
|
+
|
16
|
+
RewriteEngine On
|
17
|
+
RewriteCond %{HTTP:X-Forwarded-Proto} !https
|
18
|
+
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI}
|
19
|
+
|
20
|
+
</VirtualHost>
|
21
|
+
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 7
|
8
|
-
-
|
9
|
-
version: 0.7.
|
8
|
+
- 3
|
9
|
+
version: 0.7.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Alastair Brunton
|
@@ -65,6 +65,7 @@ files:
|
|
65
65
|
- recipes/templates/nginx_node.erb
|
66
66
|
- recipes/templates/nginx_vhost.erb
|
67
67
|
- recipes/templates/node_monit.erb
|
68
|
+
- recipes/templates/passenger_elb_vhost.erb
|
68
69
|
- recipes/templates/passenger_vhost.erb
|
69
70
|
- recipes/templates/php_handler.erb
|
70
71
|
- recipes/templates/php_vhost.erb
|