/[adm]/puppet/modules/apache/templates/vhost_catalyst_app.conf
ViewVC logotype

Contents of /puppet/modules/apache/templates/vhost_catalyst_app.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 199 - (show annotations) (download)
Mon Nov 8 00:47:08 2010 UTC (10 years, 10 months ago) by misc
File size: 666 byte(s)
- fix syntax error in the template ( TODO add a check in pre-commit )

1 <% if use_ssl then
2 port = 443
3 else
4 port = 80
5 end
6 %>
7
8 <VirtualHost *:<%= port %>>
9 <% if use_ssl then %>
10 SSLEngine on
11 #TODO deploy SNI later
12 SSLCertificateFile /etc/ssl/apache/apache.pem
13 SSLCertificateKeyFile /etc/ssl/apache/apache.pem
14 <% end %>
15 ServerName <%= name %>
16 # Serve static content directly
17 DocumentRoot /dev/null
18 <% if location then %>
19 Alias /static <%= location %>/root/static
20 <% end %>
21 Alias / <%= script %>/
22 FastCgiServer <%= script %> -processes <%= process %> -idle-timeout 30
23
24 <Location />
25 Allow from all
26 </Location>
27 </VirtualHost>
28

  ViewVC Help
Powered by ViewVC 1.1.28