From 4c60baf65f8917c4540e75d61fca79f8a5d345fa Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 9 May 2021 20:41:40 -0400 Subject: [PATCH] updates or whateva --- Nginx/Server Blocks/edu.libraryofcode.org.conf | 3 +-- Nginx/nginx.conf | 6 ++++++ 2 files changed, 7 insertions(+), 2 deletions(-) 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 ##