/[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 265 - (show annotations) (download)
Wed Nov 17 15:35:10 2010 UTC (13 years, 5 months ago) by misc
File size: 677 byte(s)
- add a proto module for taking care of pam ( need pam_ldap, etc support, and a review of the pam config file too )
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 # header
19
20 <% if location then %>
21 Alias /static <%= location %>/root/static
22 <% end %>
23 Alias / <%= script %>/
24 FastCgiServer <%= script %> -processes <%= process %> -idle-timeout 30
25
26 <Location />
27 Allow from all
28 </Location>
29 </VirtualHost>
30

  ViewVC Help
Powered by ViewVC 1.1.30