Different redirection

Like I said, you won’t be able to get HTTPS on port 123. The HTTPS port is 443. ACME challenges are done on ports 80 and 443 unless you use the DNS challenge.

Also, you should be aware that low ports (under 1024) are typically reserved for other kinds of services, so I recommend using higher port numbers for applications.

I think you might be looking for the handle_path directive to decide how to handle your requests with different path suffixes, but I would recommend using subdomains for routing instead of subpaths. Read more here: