Spaces:
Runtime error
Runtime error
Silicon Valley - Admin
Refactor Dockerfile, hypercorn.toml, and server.py for improved security, static file handling, and session management
3f3db0e
# hypercorn.toml | |
# Opciones de binding del servidor | |
bind = "0.0.0.0:7860" | |
workers = 1 | |
# Configuraci贸n de WebSockets | |
websocket_ping_interval = 20 | |
websocket_max_message_size = 16777216 | |
# Configuraci贸n de logging | |
accesslog = "-" | |
errorlog = "-" | |
loglevel = "INFO" | |
# Configuraciones de seguridad | |
h11_max_incomplete_size = 16384 | |
keep_alive_timeout = 5 | |
graceful_timeout = 10 | |
# Configuraciones de rendimiento | |
worker_class = "asyncio" | |
backlog = 2048 |