Server configuration
This commit is contained in:
		
							parent
							
								
									ad10b2c618
								
							
						
					
					
						commit
						c0b2b7fbbb
					
				
							
								
								
									
										12
									
								
								app/config/server.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								app/config/server.py
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,12 @@
 | 
				
			|||||||
 | 
					host        = "localhost"
 | 
				
			||||||
 | 
					port        = 15001
 | 
				
			||||||
 | 
					reloader    = False
 | 
				
			||||||
 | 
					debug       = False
 | 
				
			||||||
 | 
					server      = 'gunicorn' # default = 'wsgiref'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					session_opts = {
 | 
				
			||||||
 | 
					    'session.type': 'file',
 | 
				
			||||||
 | 
					    'session.cookie_expires': 30*24*60*60, # Session expiration in seconds
 | 
				
			||||||
 | 
					    'session.data_dir': './.beaker/data',
 | 
				
			||||||
 | 
					    'session.auto': True
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user