From bda8b7f8f5b00637e9bb24f79b412a7e6f6b06f7 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Tue, 6 Jul 2021 01:39:08 -0400 Subject: [PATCH] changes --- .../Server Blocks/edu.libraryofcode.org.conf | 28 +------------------ 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/Nginx/Server Blocks/edu.libraryofcode.org.conf b/Nginx/Server Blocks/edu.libraryofcode.org.conf index 153ed3c..238ae84 100644 --- a/Nginx/Server Blocks/edu.libraryofcode.org.conf +++ b/Nginx/Server Blocks/edu.libraryofcode.org.conf @@ -1,29 +1,3 @@ -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; - passenger_min_instances 8; - #passenger_log_level 4; - passenger_start_timeout 300; - passenger_enabled on; - #passenger_pre_start https://edu.libraryofcode.org/; - rails_env production; -} - server { listen 443 ssl http2; listen [::]:443 ssl http2; @@ -38,7 +12,7 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Frame-Options SAMEORIGIN; - proxy_pass http://node3.ins:8001; + proxy_pass localhost:6969; proxy_read_timeout 90; } }