1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-07 07:56:12 +00:00
kopano-docker/kweb/kweb.cfg
Felix Bartels 7948612803
rework current front facing proxy (#40)
* replace previous caddy construct with kopano kweb
* add kweb to makefile
* greatly simplifies setup, if user wants to tweak config of kweb he could do so in git and make a local build. Fixes #22 
* ping kweb version
* update readme
* remove build argument from docker-compose for web and ldap-demo
* fix certificate handling in kweb. fixes #38
2018-12-01 04:36:11 +01:00

30 lines
454 B
INI

:8080 {
redir / https://{host}{uri}
}
*, :8443 {
gzip
tls {%EMAIL%}
redir 302 {
if {path} is /
/ /webapp/
}
proxy /webapp/ kopano_webapp:80 {
transparent
}
redir /webapp /webapp/
proxy /Microsoft-Server-ActiveSync kopano_zpush:80 {
transparent
}
proxy /ldap-admin/ ldap-admin:80 {
without /ldap-admin
transparent
}
redir /ldap-admin /ldap-admin/
}