摘要:
# setting.py 配置 INSTALLED_APPS = [ '···', 'channels', '···', ] ASGI_APPLICATION = 'face_safe.asgi.application' CHANNEL_LAYERS = { 'default': { 'BACKEN 阅读全文
摘要:
# 配置在server同级 map $http_upgrade $connection_upgrade { default upgrade; '' close; } server { listen 80; server_name localhost; client_max_body_size 512 阅读全文