/[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 621 by misc, Wed Dec 15 03:11:52 2010 UTC revision 928 by misc, Tue Feb 1 12:44:50 2011 UTC
# Line 1  Line 1 
1  <% if use_ssl then  WSGIScriptAlias / /usr/local/lib/wsgi/<%= name %>.wsgi
     port = 443  
 else  
     port = 80  
 end  
 %>  
   
 <VirtualHost *:<%= port %>>  
 <% if use_ssl then %>  
         SSLEngine on  
         SSLCertificateFile /etc/ssl/apache/<%= name %>.pem  
         SSLCertificateKeyFile /etc/ssl/apache/<%= name %>.pem  
 <% end %>  
   
         ServerName <%= name %>  
         # Serve static content directly  
         DocumentRoot  /dev/null  
   
         WSGIScriptAlias / /usr/local/lib/wsgi/<%= name %>.wsgi  
 #footer  
         <Location />  
             Allow from all  
         </Location>  
 </VirtualHost>  
   

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

  ViewVC Help
Powered by ViewVC 1.1.30