-
Notifications
You must be signed in to change notification settings - Fork 3
Configuring Web Server
Lewis L. Foster edited this page Mar 31, 2020
·
1 revision
The flask web server configuration will look something like
"webserver": {
"port": 1234,
"listen": "127.0.0.1",
"webroot": "https://i.example.com",
"data_directory": "Config",
"upload_directory": "data/uploads",
"admin_auth": {
"username": "admin",
"password": "ThisIsASuperStrongP@ssw0rd!"
}
}in Config.json. Here you can set the listen port and address, web root, folder for configuration files, folder for uploads and the authentication for the admin page.
This defines the port for the flask web server to listen on
This defines the interface for the flask web server to listen on
This defines the protocol (http/s) and the domain (and/or subdomain) that the web server is accessible from
This defines the directory to store the configuration files
This defines the directory to store the uploaded files
This defines the credentials used for the web admin interface
-
username- This defines the username to use for the HTTP authentication
-
password- This defines the password to use for the HTTP authentication