~ubuntu-branches/ubuntu/precise/puppet/precise-proposed

« back to all changes in this revision

Viewing changes to .pc/debian-changes-2.6.3-0ubuntu1/ext/rack/files/apache2.conf

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-02-08 00:28:43 UTC
  • mfrom: (1.1.22 upstream) (3.1.19 sid)
  • Revision ID: james.westby@ubuntu.com-20110208002843-1xrv7w3vqblrn15m
Tags: 2.6.4-2ubuntu1
* Merge from debian unstable.  Remaining changes:
  - debian/puppetmaster-passenger.postinst: Use cacrl instead of hostcrl to
    set the location of the CRL in apache2 configuration. Fix apache2 
    configuration on upgrade as well (LP: #641001)
  - move all puppet dependencies to puppet-common since all the code 
    actually located in puppet-common.
  - move libagueas from a recommend to a dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# performance settings, from http://reductivelabs.com/trac/puppet/wiki/UsingPassenger
2
 
 
3
 
# Set to 5 min (300 seconds) or less. The shorting this option allows for
4
 
# puppetmasterd to get refreshed at some interval. This option is also
5
 
# somewhat dependent upon the amount of puppetd nodes connecting and at what
6
 
# interval.
7
 
PassengerPoolIdleTime 300
8
 
 
9
 
# to 15% more instances than what's needed. This will allow idle
10
 
# puppetmasterd to get recycled. The net effect is less memory will be used,
11
 
# not more.
12
 
PassengerMaxPoolSize 15
13
 
 
14
 
# Since communication with the puppetmaster from puppetd is a long process
15
 
# (more than 20 seconds in most cases) and will allow for processes to get
16
 
# recycled better
17
 
PassengerUseGlobalQueue on
18
 
 
19
 
# The additional Passenger features for apache compatibility are not needed
20
 
# with Puppet.
21
 
PassengerHighPerformance on
22
 
 
23
 
# Whether Passenger should automatically detect whether a virtual host’s
24
 
# document root is a Rack application. The default is on. Because
25
 
# RackBaseURI is set, this does not need to be on
26
 
RackAutoDetect Off
27
 
 
28
 
# Whether Phusion Passenger should automatically detect whether a virtual
29
 
# host’s document root is a Ruby on Rails application. The default is on.
30
 
RailsAutoDetect Off
31
 
 
32
 
Listen 8140
33
 
 
34
 
<VirtualHost *:8140>
35
 
        SSLEngine on
36
 
        SSLProtocol -ALL +SSLv3 +TLSv1
37
 
        SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
38
 
 
39
 
        SSLCertificateKeyFile /var/lib/puppet/ssl/private_keys/puppetmaster.example.com.pem
40
 
        SSLCertificateFile /var/lib/puppet/ssl/certs/puppetmaster.example.com.pem
41
 
        SSLCACertificateFile /var/lib/puppet/ssl/ca/ca_crt.pem
42
 
        SSLCertificateChainFile /var/lib/puppet/ssl/ca/ca_crt.pem
43
 
        # If Apache complains about invalid signatures on the CRL, you can try disabling
44
 
        # CRL checking by commenting the next line, but this is not recommended.
45
 
        SSLCARevocationFile     /var/lib/puppet/ssl/ca/ca_crl.pem
46
 
        SSLVerifyClient optional
47
 
        SSLVerifyDepth  1
48
 
        SSLOptions +StdEnvVars
49
 
 
50
 
        DocumentRoot /usr/share/puppet/rack/puppetmasterd/public
51
 
        RackBaseURI /
52
 
        <Directory /usr/share/puppet/rack/puppetmasterd/>
53
 
                Options None
54
 
                AllowOverride None
55
 
                Order allow,deny
56
 
                allow from all
57
 
        </Directory>
58
 
</VirtualHost>
59