merge-requests/2/head
Matthew 2021-05-21 15:14:07 -04:00
parent 8e85640887
commit 7e347612bc
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
2 changed files with 3 additions and 17 deletions

View File

@ -7,21 +7,7 @@ server {
ssl_certificate_key /etc/nginx/ssl/org.key.pem; ssl_certificate_key /etc/nginx/ssl/org.key.pem;
location / { location / {
return 307 https://wiki.libraryofcode.org/
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;
} }
location /synchrony { location /synchrony {
proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Host $host;

View File

@ -2,8 +2,8 @@ server {
listen 10.8.0.1:443 ssl http2; listen 10.8.0.1:443 ssl http2;
server_name dns.ins; server_name dns.ins;
ssl_certificate /etc/nginx/ssl/dns.chain.crt; ssl_certificate /etc/nginx/ssl/dns-ins.chain.crt;
ssl_certificate_key /etc/nginx/ssl/dns.key.pem; ssl_certificate_key /etc/nginx/ssl/dns-ins.key.pem;
index index.html index.htm index.php; index index.html index.htm index.php;