changes
parent
8e85640887
commit
7e347612bc
|
@ -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;
|
||||
|
|
|
@ -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;
|
Loading…
Reference in New Issue