diff --git a/Nginx/Server Blocks/edu.libraryofcode.org.conf b/Nginx/Server Blocks/edu.libraryofcode.org.conf index 9c4e51c..719cd22 100644 --- a/Nginx/Server Blocks/edu.libraryofcode.org.conf +++ b/Nginx/Server Blocks/edu.libraryofcode.org.conf @@ -17,10 +17,9 @@ server { passenger_ruby /usr/local/bin/ruby2.4; passenger_load_shell_envvars off; passenger_min_instances 8; - passenger_max_pool_size 18; #passenger_log_level 4; passenger_start_timeout 300; passenger_enabled on; - passenger_pre_start https://edu.libraryofcode.org/; + #passenger_pre_start https://edu.libraryofcode.org/; rails_env production; } diff --git a/Nginx/nginx.conf b/Nginx/nginx.conf index 37ee73f..6f36fb0 100644 --- a/Nginx/nginx.conf +++ b/Nginx/nginx.conf @@ -70,6 +70,12 @@ http { # gzip_http_version 1.1; # gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript; + ## + # Passenger shit + ## + + passenger_max_pool_size 18; + ## # Virtual Host Configs ##