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
de79e362
Commit
de79e362
authored
Mar 04, 2019
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 增加配置
parent
c84e984e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
conf.py
apps/jumpserver/conf.py
+1
-0
settings.py
apps/jumpserver/settings.py
+2
-1
No files found.
apps/jumpserver/conf.py
View file @
de79e362
...
...
@@ -347,6 +347,7 @@ defaults = {
'RADIUS_SECRET'
:
''
,
'HTTP_BIND_HOST'
:
'0.0.0.0'
,
'HTTP_LISTEN_PORT'
:
8080
,
'LOGIN_LOG_KEEP_DAYS'
:
90
,
}
...
...
apps/jumpserver/settings.py
View file @
de79e362
...
...
@@ -526,6 +526,7 @@ TERMINAL_ASSET_LIST_PAGE_SIZE = CONFIG.TERMINAL_ASSET_LIST_PAGE_SIZE
TERMINAL_SESSION_KEEP_DURATION
=
CONFIG
.
TERMINAL_SESSION_KEEP_DURATION
TERMINAL_HOST_KEY
=
CONFIG
.
TERMINAL_HOST_KEY
TERMINAL_HEADER_TITLE
=
CONFIG
.
TERMINAL_HEADER_TITLE
TERMINAL_TELNET_REGEX
=
CONFIG
.
TERMINAL_TELNET_REGEX
# Django bootstrap3 setting, more see http://django-bootstrap3.readthedocs.io/en/latest/settings.html
BOOTSTRAP3
=
{
...
...
@@ -555,4 +556,4 @@ SWAGGER_SETTINGS = {
# Default email suffix
EMAIL_SUFFIX
=
CONFIG
.
EMAIL_SUFFIX
TERMINAL_TELNET_REGEX
=
CONFIG
.
TERMINAL_TELNET_REGEX
LOGIN_LOG_KEEP_DAYS
=
CONFIG
.
LOGIN_LOG_KEEP_DAYS
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