mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-16 12:26:25 +00:00
* add tweak to serve phoenix from /files * auto enable oidc * simplify setup by adding root directly to kweb * add some descriptions for overriding kweb configuration * add some configuration and clean up
23 lines
1.3 KiB
Markdown
23 lines
1.3 KiB
Markdown
# Kopano Web image
|
|
|
|
[](https://microbadger.com/images/zokradonh/kopano_web "Microbadger size/labels") [](https://microbadger.com/images/zokradonh/kopano_web "Microbadger version")
|
|
|
|
Reverse Proxy to securely and with as less configuration effort as possible expose Kopano to the public internet.
|
|
|
|
In its default configuration this container will redirect requests to the root of the domain (so for example when opening https://kopano.demo/ in a browser) to https://kopano.demo/webapp. To redirect to a different path the environment variable `DEFAULTREDIRECT` needs to be configured.
|
|
|
|
Example:
|
|
|
|
```bash
|
|
# the following value needs to be added to .env
|
|
DEFAULTREDIRECT=/meet
|
|
```
|
|
|
|
## Serving additional files
|
|
|
|
Kweb in the Web container can easily be extended to serve static content. By default it will serve all content that has been copied into `/var/www/`. To extend the built in configuration file just add an additional file into `/etc/kweb-extras/`. Kweb is using the [Caddyfile syntax](https://caddyserver.com/v1/docs/caddyfile).
|
|
|
|
## Information needed when not running your own reverse proxy
|
|
|
|
The `kopano_webapp` container is accessible on port 9080 and serves the WebApp on `/webapp`.
|