1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Tuning apache passenger

This commit is contained in:
2016-01-15 04:35:47 +00:00
parent c3773d0036
commit 85187791e8
3 changed files with 1 additions and 7 deletions

View File

@@ -1,9 +1,6 @@
<VirtualHost *:80> <VirtualHost *:80>
DocumentRoot /var/www/public DocumentRoot /var/www/public
RailsEnv production RailsEnv production
PassengerMaxPoolSize 3
RailsAutoDetect off
RailsBaseURI /
ErrorLog ${APACHE_LOG_DIR}/error.log ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory "/var/www/"> <Directory "/var/www/">

View File

@@ -2,9 +2,6 @@
<VirtualHost _default_:443> <VirtualHost _default_:443>
DocumentRoot /var/www/public DocumentRoot /var/www/public
RailsEnv production RailsEnv production
PassengerMaxPoolSize 3
RailsAutoDetect off
RailsBaseURI /
ErrorLog ${APACHE_LOG_DIR}/error.log ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on SSLEngine on

View File

@@ -70,7 +70,7 @@ ADD ./rails-apache-config.conf /etc/apache2/sites-enabled/000-default.conf
RUN a2ensite default-ssl.conf RUN a2ensite default-ssl.conf
# Add apache tuning stuff # Add apache tuning stuff
#RUN echo PassengerMaxPoolSize 3 >> /etc/apache2/apache2.conf RUN echo PassengerMaxPoolSize 3 >> /etc/apache2/apache2.conf
#RUN echo PassengerPoolIdleTime 120 >> /etc/apache2/apache2.conf #RUN echo PassengerPoolIdleTime 120 >> /etc/apache2/apache2.conf
#RUN echo RailsAutoDetect off >> /etc/apache2/apache2.conf #RUN echo RailsAutoDetect off >> /etc/apache2/apache2.conf