]> git.pld-linux.org Git - packages/passenger.git/blame - apache-mod_passenger.conf
renamed to passenger
[packages/passenger.git] / apache-mod_passenger.conf
CommitLineData
5af7fd48
JR
1LoadModule passenger_module modules/mod_passenger.so
2
3PassengerRoot /usr
4PassengerRuby /usr/bin/ruby
deecd94b
JR
5
6PassengerTempDir /var/tmp
7
8#PassengerEnabled on
9
10# 0: Show only errors and warnings.
11# 1: Show the most important debugging information.
12# 2: Show more debugging information. This is typically only useful for developers.
13# 3: Show even more debugging information.
14#PassengerLogLevel 0
15
16# Turns the use of global queuing on or off.
17# You should turn it on if one of your web applications may have
18# long-running requests.
19#PassengerUseGlobalQueue off
20
21#PassengerUserSwitching on
22
23# Maybe we should put http here?
24#PassengerDefaultUser nobody
25
26# The maximum number of Ruby on Rails or Rack application instances that may be
27# simultaneously active. A larger number results in higher memory usage, but
28# improved ability to handle concurrent HTTP clients.
29#PassengerMaxPoolSize 6
30
31# The maximum number of application instances that may be simultaneously active
32# for a single application. This helps to make sure that a single application
33# will not occupy all available slots in the application pool.
34#PassengerMaxInstancesPerApp 0
35
36# The maximum number of seconds that an application instance may be idle. That
37# is, if an application instance hasn’t received any traffic after the given
38# number of seconds, then it will be shutdown in order to conserve memory.
39#PassengerPoolIdleTime 300
40
41# The maximum number of requests an application instance will process. After
42# serving that many requests, the application instance will be shut down and
43# Phusion Passenger will restart it.
44#PassengerMaxRequests 0
45
46# Setting this option to a value of x means that the filesystem
47# checks will be performed at most once every x seconds.
48# - whether config/environment.rb, config.ru or passenger_wsgi.py is present,
49# in order to autodetect Rails, Rack and WSGI applications.
50# - whether restart.txt has changed or whether always_restart.txt exists, in
51# order to determine whether the application should be restarted.
52#PassengerStatThrottleRate 0
53
54# If you turn PassengerHighPerformance to on, then Phusion Passenger will be a
55# little faster, in return for reduced compatibility with other Apache modules.
56#
57# In places where PassengerHighPerformance is turned on, mod_rewrite rules will
58# likely not work. mod_autoindex (the module which displays a directory index)
59# will also not work. Other Apache modules may or may not work, depending on
60# what they exactly do. We recommend you to find out how other modules behave
61# in high performance mode via testing.
62#PassengerHighPerformance off
This page took 0.060427 seconds and 4 git commands to generate.