mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-09 15:42:09 +00:00
Apache passenger performance tuning
This commit is contained in:
@@ -69,5 +69,10 @@ ADD ./rails-apache-ssl-config.conf /etc/apache2/sites-available/default-ssl.conf
|
||||
ADD ./rails-apache-config.conf /etc/apache2/sites-enabled/000-default.conf
|
||||
RUN a2ensite default-ssl.conf
|
||||
|
||||
# Add apache tuning stuff
|
||||
RUN echo PassengerMaxPoolSize 3 >> /etc/apache2/apache2.conf
|
||||
RUN echo PassengerPoolIdleTime 120 >> /etc/apache2/apache2.conf
|
||||
RUN echo RailsAutoDetect off >> /etc/apache2/apache2.conf
|
||||
|
||||
# By default, simply start apache.
|
||||
CMD /usr/sbin/apache2ctl -D FOREGROUND
|
||||
|
||||
Reference in New Issue
Block a user