configurations/Nginx/Server Blocks/edu.libraryofcode.org.conf

25 lines
680 B
Plaintext
Raw Normal View History

2021-05-01 15:13:49 -04:00
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name edu.libraryofcode.org;
ssl_certificate /etc/nginx/ssl/org.chain.crt;
ssl_certificate_key /etc/nginx/ssl/org.key.pem;
root /opt/canvas/public;
charset utf-8;
include mime.types;
client_max_body_size 5000M;
default_type application/octet-stream;
access_log /var/log/nginx/canvas.access.log;
error_log /var/log/nginx/canvas.error.log;
passenger_ruby /usr/local/bin/ruby2.4;
passenger_load_shell_envvars off;
2021-05-07 20:41:41 -04:00
passenger_min_instances 2;
2021-05-01 15:13:49 -04:00
#passenger_log_level 4;
passenger_start_timeout 300;
passenger_enabled on;
rails_env production;
}