mirror of
https://github.com/janeczku/calibre-web
synced 2025-02-07 14:40:08 +00:00
Add Cookie_prefix and SECRET_KEY environmental variables
parent
dcb3fd39f8
commit
69487cdbaf
@ -22,6 +22,8 @@ Starting Calibre-Web with `-k "" -c ""`, deactivates the ssl-server, it falls ba
|
||||
|
||||
Calibre-Web supports the following Environmental variables.
|
||||
|
||||
`SECRET_KEY` sets the key to encrypt cookies (if not set calibre-web will generate a random key on it's own)
|
||||
`COOKIE_PREFIX` adds a prefix to the session cookies, so it doesn't interfere with session cookies on the same server
|
||||
`CALIBRE_DBPATH` allows to set the home directory for Calibre-Web's settings files (`app.db`, `calibre-web.log`, `gdrive.db`)\
|
||||
`CALIBRE_PORT` allows to set the default listening port during creation of the settings database. Afterwards the port which is configured in the UI, is used.\
|
||||
`CALIBRE_RECONNECT` enables the reconnect endpoint (`<hostname>/reconnect`) which will attempt to reconnect the database\
|
||||
|
Loading…
x
Reference in New Issue
Block a user