mirror of
https://github.com/janeczku/calibre-web
synced 2024-10-31 23:26:20 +00:00
Added X-Scheme explanation
parent
b7a1e7f169
commit
98d612888c
@ -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:*
|
*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/;
|
proxy_redirect http://$host/ https://$host:12345/;
|
||||||
|
Loading…
Reference in New Issue
Block a user