From 7e347612bc3ae70bb6c54da69b686dd7be0ef79d Mon Sep 17 00:00:00 2001 From: Matthew R Date: Fri, 21 May 2021 15:14:07 -0400 Subject: [PATCH] changes --- .../confluence.libraryofcode.org.conf | 16 +--------------- .../{dns.libraryofcode.org.conf => dns.ins.conf} | 4 ++-- 2 files changed, 3 insertions(+), 17 deletions(-) rename Nginx/Server Blocks/{dns.libraryofcode.org.conf => dns.ins.conf} (91%) diff --git a/Nginx/Server Blocks/confluence.libraryofcode.org.conf b/Nginx/Server Blocks/confluence.libraryofcode.org.conf index 615a02a..b9895e0 100644 --- a/Nginx/Server Blocks/confluence.libraryofcode.org.conf +++ b/Nginx/Server Blocks/confluence.libraryofcode.org.conf @@ -7,21 +7,7 @@ server { ssl_certificate_key /etc/nginx/ssl/org.key.pem; location / { - - proxy_set_header Host $host; - - proxy_set_header X-Real-IP $remote_addr; - - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - - proxy_set_header X-Forwarded-Proto $scheme; - - proxy_pass http://localhost:3022; - - proxy_read_timeout 90; - - proxy_redirect http://localhost:3022 https://confluence.libraryofcode.org; - + return 307 https://wiki.libraryofcode.org/ } location /synchrony { proxy_set_header X-Forwarded-Host $host; diff --git a/Nginx/Server Blocks/dns.libraryofcode.org.conf b/Nginx/Server Blocks/dns.ins.conf similarity index 91% rename from Nginx/Server Blocks/dns.libraryofcode.org.conf rename to Nginx/Server Blocks/dns.ins.conf index 353e611..9bed8aa 100644 --- a/Nginx/Server Blocks/dns.libraryofcode.org.conf +++ b/Nginx/Server Blocks/dns.ins.conf @@ -2,8 +2,8 @@ server { listen 10.8.0.1:443 ssl http2; server_name dns.ins; - ssl_certificate /etc/nginx/ssl/dns.chain.crt; - ssl_certificate_key /etc/nginx/ssl/dns.key.pem; + ssl_certificate /etc/nginx/ssl/dns-ins.chain.crt; + ssl_certificate_key /etc/nginx/ssl/dns-ins.key.pem; index index.html index.htm index.php;