mirror of
https://github.com/janeczku/calibre-web
synced 2024-10-31 23:26:20 +00:00
Add Lighttpd 1.4 configuration
parent
d53c7a439c
commit
51f54d2b81
@ -114,3 +114,17 @@ My web.config file looks like this:
|
||||
|
||||
The crossed out sections aren't needed, they are leftovers from my experiments.
|
||||
|
||||
### Lighttpd 1.4
|
||||
|
||||
Lighttpd 1.4 configuration for a reverse proxy to Calibre-Web to `/calibre-web`:
|
||||
|
||||
The following modules have to be activated: `mod_setenv`, `mod_redirect` and `mod_proxy`.
|
||||
```
|
||||
$HTTP["url"] =~ "^/calibre-web" {
|
||||
setenv.add-request-header = (
|
||||
"X-SCRIPT-NAME" => "/calibre-web",
|
||||
"X-SCHEME" => "https"
|
||||
)
|
||||
proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => "8083" ) ) )
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user