Page 1 of 1

WebGUI Authentication or on separate port

Posted: Sat Nov 12, 2022 10:37 am
by selsner
Hi!

I would like to have some authentication on the web gui. I read in earlier threads, that it is not possible right now, right?! The alternative would maybe be to have an nginx proxy on the second port with a http basic auth enabled.
Is it possible to have the web gui on a separate port?

Regards

Sebastian

Re: WebGUI Authentication or on separate port

Posted: Mon Nov 14, 2022 8:26 am
by timurhai
Hi!

Unfortunately, afserver listens only one port, and you can't make it to listen a separate port for WebGUI.
But it is much simpler to make afserverĀ to listen to 2 (and more) ports for everything (but i had not test it).
Then you can use the second port for WebGUI only.
You can look there:
https://github.com/CGRU/cgru/blob/maste ... n.cpp#L353
https://github.com/CGRU/cgru/blob/maste ... t.cpp#L264

Re: WebGUI Authentication or on separate port

Posted: Tue Nov 15, 2022 8:14 am
by selsner
Thanks, good to know!