Commit 08aa7843 authored by wojiushixiaobai's avatar wojiushixiaobai

修改安装文档

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