Unverified Commit 3bed672e authored by wojiushixiaobai's avatar wojiushixiaobai Committed by GitHub

Merge pull request #2271 from wojiushixiaobai/docs

[Fix]修复
parents 0c9b8b85 fc3855c9
......@@ -92,15 +92,16 @@ FAQ
.. code-block:: shell
$ vi /opt/jumpserver/apps/jumpserver/settings.py
$ vi /opt/jumpserver/config.py
.. code-block:: python
# 找到如下行,注释(可参考 django 设置 session 过期时间),修改你要的设置即可
# SESSION_COOKIE_AGE = CONFIG.SESSION_COOKIE_AGE or 3600 * 24
# 找到如下行(可参考 django 设置 session 过期时间),修改你要的设置即可
# SESSION_COOKIE_AGE = 3600 * 24
# SESSION_EXPIRE_AT_BROWSER_CLOSE = False
# 如下,设置关闭浏览器 cookie 失效,则修改为
# SESSION_COOKIE_AGE = CONFIG.SESSION_COOKIE_AGE or 3600 * 24
# SESSION_COOKIE_AGE = 3600 * 24
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
8. 资产授权说明
......@@ -227,7 +228,6 @@ FAQ
$ firewall-cmd --reload # 重新载入规则
$ setsebool -P httpd_can_network_connect 1 # 设置 selinux 允许 http 访问
$ chcon -Rt svirt_sandbox_file_t /opt/guacamole/key # 设置 selinux 允许容器对目录读写
12. 生成随机 SECRET_KEY
......
......@@ -394,7 +394,7 @@
.. code-block:: shell
$ ./cocod start all # 后台运行使用 -d 参数./cocod start -d
$ ./cocod start # 后台运行使用 -d 参数./cocod start -d
# 新版本更新了运行脚本,使用方式./cocod start|stop|status|restart 后台运行请添加 -d 参数
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment