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

Diff of /puppet/modules/apache/templates/vhost_django_app.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 265 by misc, Wed Nov 17 15:35:10 2010 UTC revision 621 by misc, Wed Dec 15 03:11:52 2010 UTC
# Line 1  Line 1 
1  <VirtualHost *:80>  <% 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            SSLCertificateFile /etc/ssl/apache/<%= name %>.pem
12            SSLCertificateKeyFile /etc/ssl/apache/<%= name %>.pem
13    <% end %>
14    
15          ServerName <%= name %>          ServerName <%= name %>
16          # Serve static content directly          # Serve static content directly
17          DocumentRoot  /dev/null          DocumentRoot  /dev/null

Legend:
Removed from v.265  
changed lines
  Added in v.621

  ViewVC Help
Powered by ViewVC 1.1.30