Well, we got it somehow working:
- Enable KB
- Modify nginx to use
server_name zammad.example.com kb.example.com;
- Add wildcard SSL certificates to Zammad nginx config
- Modify nginx again
with something quirky like that:
# "FIX": in order to NOT get redirected to #login route if accessing the kb @ kb.example.com
set $fullUrl "$host$request_uri";
if ($fullUrl = "kb.example.com/"){
return 301 https://kb.example.com/help/de-de;
}
# Add following lines to "server" directive
if ($host = kb.example.com ) {
rewrite ^/(api|assets)/(.*)$ /$1/$2 last;
rewrite ^/help(.*)$ /help$1 last;
#rewrite ^(.*)$ /help$1 last;
}
- Set in Zammad KB url as follows:
- Make the modifications suggest in the KB Zammad backend
Drawbacks
Although it works somehow, there are some issues:
- Indication bar (draft, internal, public) will not be displayed
- I assume this is related to the βcatchβ with the login route
- Opening KB from agents perspective does not work (it think there exists already a github issue)