Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
2c46707c
Commit
2c46707c
authored
Sep 27, 2019
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 修改websocket监听端口
parent
c96d165d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
conf.py
apps/jumpserver/conf.py
+1
-0
config_example.yml
config_example.yml
+1
-0
jms
jms
+1
-1
No files found.
apps/jumpserver/conf.py
View file @
2c46707c
...
@@ -376,6 +376,7 @@ defaults = {
...
@@ -376,6 +376,7 @@ defaults = {
'RADIUS_SECRET'
:
''
,
'RADIUS_SECRET'
:
''
,
'HTTP_BIND_HOST'
:
'0.0.0.0'
,
'HTTP_BIND_HOST'
:
'0.0.0.0'
,
'HTTP_LISTEN_PORT'
:
8080
,
'HTTP_LISTEN_PORT'
:
8080
,
'WS_LISTEN_PORT'
:
8082
,
'LOGIN_LOG_KEEP_DAYS'
:
90
,
'LOGIN_LOG_KEEP_DAYS'
:
90
,
'ASSETS_PERM_CACHE_TIME'
:
3600
*
24
,
'ASSETS_PERM_CACHE_TIME'
:
3600
*
24
,
'SECURITY_MFA_VERIFY_TTL'
:
3600
,
'SECURITY_MFA_VERIFY_TTL'
:
3600
,
...
...
config_example.yml
View file @
2c46707c
...
@@ -44,6 +44,7 @@ DB_NAME: jumpserver
...
@@ -44,6 +44,7 @@ DB_NAME: jumpserver
# 运行时绑定端口
# 运行时绑定端口
HTTP_BIND_HOST
:
0.0.0.0
HTTP_BIND_HOST
:
0.0.0.0
HTTP_LISTEN_PORT
:
8080
HTTP_LISTEN_PORT
:
8080
WS_LISTEN_PORT
:
8082
# Use Redis as broker for celery and web socket
# Use Redis as broker for celery and web socket
# Redis配置
# Redis配置
...
...
jms
View file @
2c46707c
...
@@ -47,7 +47,7 @@ LOG_DIR = os.path.join(BASE_DIR, 'logs')
...
@@ -47,7 +47,7 @@ LOG_DIR = os.path.join(BASE_DIR, 'logs')
TMP_DIR
=
os
.
path
.
join
(
BASE_DIR
,
'tmp'
)
TMP_DIR
=
os
.
path
.
join
(
BASE_DIR
,
'tmp'
)
HTTP_HOST
=
CONFIG
.
HTTP_BIND_HOST
or
'127.0.0.1'
HTTP_HOST
=
CONFIG
.
HTTP_BIND_HOST
or
'127.0.0.1'
HTTP_PORT
=
CONFIG
.
HTTP_LISTEN_PORT
or
8080
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
DEBUG
=
CONFIG
.
DEBUG
or
False
LOG_LEVEL
=
CONFIG
.
LOG_LEVEL
or
'INFO'
LOG_LEVEL
=
CONFIG
.
LOG_LEVEL
or
'INFO'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment