19 lines
481 B
Python
19 lines
481 B
Python
import cherrypy
|
|
|
|
|
|
settings = {
|
|
"global": {
|
|
"server.socket_port": 8080,
|
|
"server.environment": "production",
|
|
"session_filter.on": True,
|
|
"session_filter.storage_type": "file",
|
|
"session_filter.storage_path": "session",
|
|
"session_filter.timeout": 60 * 72, # 72 hours
|
|
"session_filter.clean_up_delay": 5,
|
|
"encoding_filter.on": True,
|
|
"encoding_filter.encoding": "utf-8",
|
|
"decoding_filter.on": True,
|
|
"decoding_filter.encoding": "utf-8",
|
|
},
|
|
}
|