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
WebGUI Authentication or on separate port
Re: WebGUI Authentication or on separate port
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
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
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: WebGUI Authentication or on separate port
Thanks, good to know!