How to use 2 base url for http

According to the instruction, should be

http:
  ssl_certificate: /config/ssl/fullchain.pem
  ssl_key: /config/ssl/privkey.pem
  base_url: https://xxxx:8123

But think is it possible to include 2 base url.
Trying to write like

 base_url: 
  - https://xxxx:8123
  - https://yyyy:8123

But failed.
for SSL file, already include both domain.
Any suggestions?

If you are saying the SSL certificate already includes both names as SANs, you likely need a separate https webserver for one of those names that just does a redirect to the “real” one.

Unlike a person that has 2 legs as bases, the software can only have one base.

Use a reverse proxy in front of it and you can do whatever you want.

You cannot specify 2 base urls on HA

1 Like