I have just installed Manager Server and reviewed how the program works. It is very straightforward to install and start the service. I was able to access the website using the local IP address and http.
The instructions advise you to install Caddy to redirect ports 80 and 443 to port 8080 and to install a certificate to enable https.
I have two questions here:
Is there some reason why typing in https://hostname.example.com:8080 does not open Manager using https? It works fine if I don’t use https://. I presume that Manager does not support using a certificate and https? Does caddy provide the backend support for https encryption? I already have an SSL Certificate installed on the server as I use it as a Mail server so it’s not a missing certificate issue.
However, I considered looking at a second option and that was to create a new A record on my registrar such as money.example.com so that all that my accountant would have to do is type in money.example.com and caddy would in theory a: redirect port 80/443 to whatever port Manager was running on and b: enable ssl for Manager. I would prefer this option so that my accountant has a completely different url from my email server.
However the instructions for Caddy on the Manager Server install guide will redirect all 443 requests to port 8080 or whatever port Manager is installed on. This would break the mail server and the video chat software that is running on that server!
I looked at the instructions on the Caddy Server website to see if I could redirect 443 requests only if it matched a specific hostname. I did find some coding, but it included other lines of coding that I was not sure what it did. Is it possible to update the Installing Manager Server guide for this section to include the necessary coding to state that it should only redirect the hostname you are using for Manager as I have no doubt other users are running other services on their servers using port 443. It would also ensure best practice to only redirect port 443 traffic that is relevant to Manager Server instead of redirecting all 443 traffic.
:443 {
tls { max_certs 1000 }
proxy / localhost:8080 {
transparent
}
}