How do I turn off http://localhost:5001/webui?

Hello to everyone
Is there a setting to turn off webui?

Another option;
Can I set authentication from config? How can I do that

thanks

Hey @ozerhakan!

At the moment, I don’t think there’s a way of disabling the Web UI on the API address (anyone else please correct me if I’m wrong). I’m curious about what’s your use case and why you’d like to disable the Web UI on the API path?

If you really want to disable it, my suggestion is to setup a reverse proxy that proxies the traffic to the API path only (/api/v0).

Hello @hacdias, thank you for your answer.
File can be edited via the web user interface. I don’t want this. I want to do this through my own application via API.

Okay, I see. Then, you can still do it through your own application, right? They’re not mutually exclusive. If you really wan’t to disable it, I’d suggest a reverse-proxy for now.

Feel free to also open an issue if you’d like to see this as an option in Kubo’s configuration.

Okey, I will block it at the network level in my own application.