Hi All
I'm trying to run the consul web UI from a local IIS instance so that I can (eventually) let IIS handle the authentication against the AD. The machine on which IIS runs has a consul agent running on it with the default http port but now the question is how do I point the UI to that local consul. I've tried setting up a redirect rule but to no avail.
Setup:
My consul config is:
{
"data_dir": "c:\\ops\\consul\\akm\\data",
"bootstrap_expect" : 1,
"datacenter": "mydatacenter",
"server": true,
"domain": "mydomain",
"addresses": {
"dns": "<LOCAL_MACHINE_IP>"
},
"ports": {
"dns": 8600,
"http": 8500,
"rpc": 8400,
"serf_lan": 8301,
"serf_wan": 8302,
"server": 8300
},
"recursors": ["172.17.26.2"],
"disable_remote_exec": true,
"disable_update_check": true
}
If I set the ui_dir option then it displays the UI without issues.
In IIS I've added the consul UI files to the consul sub-directory of the default website, i.e.
Default Web Site
consul <-- UI files here
Things I've tried:
Has anybody ever tried something like this? I saw a post from somebody trying this with nginx but I'm having lots of trouble translating to IIS / my situation so any hints would be appreciated.
Thanks
Petrik