mirror of https://github.com/jumpserver/jumpserver
[Update] 修改websocket监听端口
parent
c96d165d3f
commit
2c46707c2b
|
@ -376,6 +376,7 @@ defaults = {
|
|||
'RADIUS_SECRET': '',
|
||||
'HTTP_BIND_HOST': '0.0.0.0',
|
||||
'HTTP_LISTEN_PORT': 8080,
|
||||
'WS_LISTEN_PORT': 8082,
|
||||
'LOGIN_LOG_KEEP_DAYS': 90,
|
||||
'ASSETS_PERM_CACHE_TIME': 3600*24,
|
||||
'SECURITY_MFA_VERIFY_TTL': 3600,
|
||||
|
|
|
@ -44,6 +44,7 @@ DB_NAME: jumpserver
|
|||
# 运行时绑定端口
|
||||
HTTP_BIND_HOST: 0.0.0.0
|
||||
HTTP_LISTEN_PORT: 8080
|
||||
WS_LISTEN_PORT: 8082
|
||||
|
||||
# Use Redis as broker for celery and web socket
|
||||
# Redis配置
|
||||
|
|
2
jms
2
jms
|
@ -47,7 +47,7 @@ LOG_DIR = os.path.join(BASE_DIR, 'logs')
|
|||
TMP_DIR = os.path.join(BASE_DIR, 'tmp')
|
||||
HTTP_HOST = CONFIG.HTTP_BIND_HOST or '127.0.0.1'
|
||||
HTTP_PORT = CONFIG.HTTP_LISTEN_PORT or 8080
|
||||
WS_PORT = HTTP_PORT + 1
|
||||
WS_PORT = CONFIG.WS_LISTEN_PORT or 8082
|
||||
DEBUG = CONFIG.DEBUG or False
|
||||
LOG_LEVEL = CONFIG.LOG_LEVEL or 'INFO'
|
||||
|
||||
|
|
Loading…
Reference in New Issue