3.4. Configuring luci with /etc/sysconfig/luci
/etc/sysconfig/lucifile. The parameters you can change with this file include auxiliary settings of the running environment used by the init script as well as server configuration. In addition, you can edit this file to modify some application configuration parameters. There are instructions within the file itself describing which configuration parameters you can change by editing this file.
/etc/sysconfig/lucifile when you edit the file. Additionally, you should take care to follow the required syntax for this file, particularly for the
INITSCRIPTsection which does not allow for white spaces around the equal sign and requires that you use quotation marks to enclose strings containing white spaces.
- Uncomment the following line in the
#port = 4443
- Replace 4443 with the desired port number, which must be higher than or equal to 1024 (not a privileged port). For example, you can edit that line of the file as follows to set the port at which luci is being served to 8084 (commenting the line out again would have the same affect, as this is the default value).
port = 8084
- Restart the luci service for the changes to take effect.
ssl_cipher_listconfiguration parameter in
/etc/sysconfig/luci. This parameter can be used to impose restrictions as expressed with OpenSSL cipher notation.
/etc/sysconfig/lucifile to redefine a default value, you should take care to use the new value in place of the documented default value. For example, when you modify the port at which luci is being served, make sure that you specify the modified value when you enable an IP port for luci, as described in Section 3.3.2, “Enabling the IP Port for luci”.
/etc/sysconfig/lucifile, refer to the documentation within the file itself.