1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-04-22 10:43:17 +00:00

Fix ngnix subdomain config

Ozzie Isaacs 2022-04-02 18:46:40 +02:00
parent 817d3f1b99
commit ea4b85c613

@ -41,7 +41,7 @@ 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` in the location line with `/` and remove the `X-Script-Name` line. 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:*
```