Added X-Scheme explanation

Ozzie Isaacs 2020-12-30 09:45:11 +01:00
parent b7a1e7f169
commit 98d612888c
1 changed files with 2 additions and 1 deletions

@ -29,7 +29,8 @@ http {
}
}
```
If you want to use nginx as proxy for subdomain just replace the `/calibre` lines with `/`, do not change anything else and it will work
If you want to use nginx as proxy for subdomain just replace the `/calibre` lines with `/`, do not change anything else and it will work.
The `X-Scheme` directive is used to preserve the protocol (http/https), it could be hard coded to `http` or `https` to force this type of protocol.\
*Note: If using SSL in your reverse proxy on a non-standard port (e.g.12345), the following proxy_redirect line may be required:*
```
proxy_redirect http://$host/ https://$host:12345/;