* Fix #981 Use -webserverip to set http listen address * use 0.0.0.0 as default http listen address * add Admin REST API for setting http listen address * full input validation of port and IP
This commit is contained in:
@@ -21,6 +21,9 @@ var VersionNumber = StaticVersionNumber
|
||||
// WebServerPort is the port for Owncast's webserver that is used for this execution of the service.
|
||||
var WebServerPort = 8080
|
||||
|
||||
// Bind WebServer to this IP address. Be secure by default.
|
||||
var WebServerIP = "0.0.0.0"
|
||||
|
||||
// InternalHLSListenerPort is the port for HLS writes that is used for this execution of the service.
|
||||
var InternalHLSListenerPort = "8927"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user