How to Enable API after installation?

I have two hestia servers ns1.mydomain.com with api enabled, and ns2.mydomain.com with API disabled, I want to build a dns cluster ns1 master and ns2 slave. but I need to enable API on ns2 server. Is there a way to activate the API??
Thanks

Check $HESTIA/conf/hestia.conf

Change API=‘no’ to ‘yes’

And then check if the php code is present in $HESTIA/web/api

If not download the code from Github and move the /web/api folder to $HESTIA/web/api

Then it should work fine

6 Likes

It worked, thank you so much :slight_smile: