mirror of https://github.com/jumpserver/jumpserver
修改jumpserver.conf注释
parent
b58ff14ed1
commit
3260584f90
|
@ -1,9 +1,9 @@
|
||||||
#coding: utf8
|
#coding: utf8
|
||||||
|
|
||||||
[base]
|
[base]
|
||||||
url = http://127.0.0.1
|
url = http://yourIP
|
||||||
key = 88aaaf7ffe3c6c04
|
key = 16位字母数字
|
||||||
log = debug
|
log = debug | warning
|
||||||
|
|
||||||
[db]
|
[db]
|
||||||
host = 127.0.0.1
|
host = 127.0.0.1
|
||||||
|
@ -13,12 +13,12 @@ password = mysql234
|
||||||
database = jumpserver
|
database = jumpserver
|
||||||
|
|
||||||
[websocket]
|
[websocket]
|
||||||
web_socket_host = j:3000
|
web_socket_host = yourIP|yourDomainName:3000
|
||||||
|
|
||||||
[mail]
|
[mail]
|
||||||
mail_enable = 1
|
mail_enable = 1
|
||||||
email_host = smtp.exmail.qq.com
|
email_host = yourSMTPHost
|
||||||
email_port = 25
|
email_port = yourSMTPHost|25
|
||||||
email_host_user = noreply@jumpserver.org
|
email_host_user = yourEmail
|
||||||
email_host_password = jumpserver1234
|
email_host_password = yourEmailPassword
|
||||||
email_use_tls = True
|
email_use_tls = True
|
||||||
|
|
|
@ -121,36 +121,36 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="ibox-content">
|
<div class="ibox-content">
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<table class="table" id="agedit" >
|
<table class="table" id="agedit" >
|
||||||
<td class="text-navy text-left">主机</td>
|
<td class="text-navy text-left">主机</td>
|
||||||
<td class="text-navy text-right">主机组</td>
|
<td class="text-navy text-right">主机组</td>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<table class="table progress-striped text-left">
|
<table class="table progress-striped text-left">
|
||||||
{% for asset in assets %}
|
{% for asset in assets %}
|
||||||
<tr class="gradeX">
|
<tr class="gradeX">
|
||||||
<td> <a href="{% url 'asset_detail' %}?id={{ asset.id }}">{{ asset.ip }}</a> </td>
|
<td> <a href="{% url 'asset_detail' %}?id={{ asset.id }}">{{ asset.ip }}</a> </td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<table class="table progress-striped text-right">
|
<table class="table progress-striped text-right">
|
||||||
{% for group in asset_groups %}
|
{% for group in asset_groups %}
|
||||||
<tr class="gradeX-">
|
<tr class="gradeX-">
|
||||||
<td> <a href="{% url 'asset_list' %}?group_id={{ group.id }}">{{ group.name }}</a> </td>
|
<td> <a href="{% url 'asset_list' %}?group_id={{ group.id }}">{{ group.name }}</a> </td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
|
|
Loading…
Reference in New Issue