You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow hosting OpenBooks server at a subpath. (#34)
* feature: Add support for hosting at sub path.
- The subpath is set via environment variable or cli
argument.
- Updated readme files to show it's used.
* fix: minor wording change
Copy file name to clipboardexpand all lines: README.md
+9
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,15 @@ Openbooks allows you to download ebooks from irc.irchighway.net quickly and easi
24
24
- Config to perist all eBook files to disk
25
25
-`docker run -p 8080:80 -v /home/evan/Downloads/books:/books evanbuss/openbooks --persist`
26
26
27
+
### Setting the Base Path
28
+
29
+
OpenBooks server doesn't have to be hosted at the root of your webserver. The basepath value allows you to host it behind a reverse proxy. The base path value must have opening and closing forward slashes (default "/").
30
+
31
+
- Docker
32
+
-`docker run -p 8080:80 -e BASE_PATH=/openbooks/ evanbuss/openbooks`
0 commit comments