diff --git a/samples/httpaste.it/httpaste/config.ini b/samples/httpaste.it/httpaste/config.ini index 801d0d6..1e6b9b5 100644 --- a/samples/httpaste.it/httpaste/config.ini +++ b/samples/httpaste.it/httpaste/config.ini @@ -1,16 +1,38 @@ -[general] +[context] salt = '&)UxB-_$Lk$m=CB}dw[d85{-ZWR?uUNx' -paste_id_size = 8 -paste_key_size = 32 -paste_lifetime = 5 -paste_max_lifetime = 1440 -hmac_iterations = 20000 -paste_default_encoding = 'utf-8' +hmac_iter = 20000 + +[model.paste] +default_encoding = 'utf-8' +id_size = 8 +key_size = 32 +default_lifetime = 5 +default_max_lifetime = 1440 + + +[controller.paste] +default_mime_type = 'text/plain' +default_linenos = False +default_syntax = False +default_formatter = 'terminal256' + [backend] type = file + +[backend.file] base_dirname = 'sample_data' +[backend.sqlite] +path = 'devel/sample.db' + +[backend.mysql] +user = 'example-user' +password = 'my_cool_secret' +database = 'httpaste' +host = '127.0.0.1' + + [server] swagger_ui = False bind_address = 'sample.sock' \ No newline at end of file