You configure Hue in the hue.ini file. It is based on this template. To check the values the server actually uses, open the Dump Config page.
The most important sections to configure are:
Note: Restart the server after you change
hue.ini.
Note: In development mode (when you start Hue with
./build/env/bin/hue runserver), the ini file isdesktop/conf/pseudo-distributed.ini.