refactor(samples/httpaste.it): update config file
This commit is contained in:
parent
dd187a1069
commit
65f3102a7f
1 changed files with 29 additions and 7 deletions
|
|
@ -1,16 +1,38 @@
|
||||||
[general]
|
[context]
|
||||||
salt = '&)UxB-_$Lk$m=CB}dw[d85{-ZWR?uUNx'
|
salt = '&)UxB-_$Lk$m=CB}dw[d85{-ZWR?uUNx'
|
||||||
paste_id_size = 8
|
hmac_iter = 20000
|
||||||
paste_key_size = 32
|
|
||||||
paste_lifetime = 5
|
[model.paste]
|
||||||
paste_max_lifetime = 1440
|
default_encoding = 'utf-8'
|
||||||
hmac_iterations = 20000
|
id_size = 8
|
||||||
paste_default_encoding = 'utf-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]
|
[backend]
|
||||||
type = file
|
type = file
|
||||||
|
|
||||||
|
[backend.file]
|
||||||
base_dirname = 'sample_data'
|
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]
|
[server]
|
||||||
swagger_ui = False
|
swagger_ui = False
|
||||||
bind_address = 'sample.sock'
|
bind_address = 'sample.sock'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue