Unverified Commit ab01e344 authored by wojiushixiaobai's avatar wojiushixiaobai Committed by GitHub

Merge pull request #1868 from wojiushixiaobai/docs

[Update]修改安装文档
parents 4087b714 08aa7843
......@@ -323,7 +323,7 @@ CentOS 7 安装文档
server {
listen 80;
client_max_body_size 100m; # 录像上传大小限制
client_max_body_size 100m; # 录像及文件上传大小限制
location /luna/ {
try_files $uri / /index.html;
......
......@@ -327,7 +327,7 @@ CentOS 7 组件离线安装文档
listen 80;
server_name demo.jumpserver.org; # 修改成你的域名
client_max_body_size 100m; # 录像上传大小限制
client_max_body_size 100m; # 录像及文件上传大小限制
location /luna/ {
try_files $uri / /index.html;
......
......@@ -17,8 +17,6 @@
...
LOG_LEVEL = os.environ.get("LOG_LEVEL") or 'ERROR'
...
HTTP_BIND_HOST = '127.0.0.1'
...
$ cd /opt/coco
......
......@@ -433,7 +433,7 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
server_name _;
## 新增如下内容,以上内容是原文内容,请从这一行开始复制
client_max_body_size 100m; # 录像上传大小限制
client_max_body_size 100m; # 录像及文件上传大小限制
location /luna/ {
try_files $uri / /index.html;
......
......@@ -480,7 +480,7 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
server {
listen 80; # 代理端口,以后将通过此端口进行访问,不再通过8080端口
client_max_body_size 100m; # 录像上传大小限制
client_max_body_size 100m; # 录像及文件上传大小限制
location /luna/ {
try_files $uri / /index.html;
......
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