1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-24 06:42:54 +00:00

make it possible to specify the path when running konnect in a subpath (#320)

* make it possible to specify the path when running konnect in a subpath
This commit is contained in:
Felix Bartels
2020-02-04 16:39:40 +01:00
committed by GitHub
parent 8d0a0fd8f5
commit f998cdb7b2
2 changed files with 20 additions and 17 deletions
+3 -3
View File
@@ -64,11 +64,11 @@
}
redir /signin /signin/v1/identifier
# Konnect in subpath - this config supports /kopanoid as a subpath
rewrite /kopanoid/konnect/v1/ {
# Konnect in subpath - by default this config supports /kopanoid as a subpath
rewrite /{%KONNECTPATH%}/konnect/v1/ {
to /upstreams/konnect/{path}
}
rewrite /kopanoid/signin/v1/ {
rewrite /{%KONNECTPATH%}/signin/v1/ {
to /upstreams/konnect/{path}
}