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;