-
Notifications
You must be signed in to change notification settings - Fork 1
Config
_DiSay edited this page Sep 25, 2022
·
2 revisions
The config is created automatically (if it is missing). And always stored in the config.toml file
dev_mode = true
[SSL]
cert_file = ""
key_file = ""
ssl = false
[server]
address = ""
port = 8080dev_mode = falseSets the development mode. The default is false. If set to true, with each request, the server will re-interpret the file responsible for a particular path.
[SSL]
cert_file = ""
key_file = ""
ssl = falsecert_file = ""Sets the path to the .crt file. File must be specified if ssl = true
key_file = ""Sets the path to the .key file. File must be specified if ssl = true
ssl = falseIs SSL enabled? By default, it is false, if you need a secure http connection, set it to true
[server]
address = ""
port = 8080address = ""Specifies the address on which the server should start, usually it is not necessary to specify it.
port = 8080Specifies the port on which the server should start. According to the standard port = 8080. You can specify any other convenient for you.