Commit 1d022e25 authored by wojiushixiaobai's avatar wojiushixiaobai

更新1.4.2

parent ab01e344
......@@ -256,3 +256,10 @@
* 增加ssh用户黑名单和白名单
* luna支持搜索支持IP
* 优化一些内容
1.4.2
------------------------
2018年10月8日
* 支持web sftp,支持跨资产复制粘贴文件
* 优化一些内容
......@@ -52,7 +52,7 @@
# 下载 luna
$ cd /opt
$ wget https://github.com/jumpserver/luna/releases/download/1.4.1/luna.tar.gz
$ wget https://github.com/jumpserver/luna/releases/download/1.4.2/luna.tar.gz
$ tar xvf luna.tar.gz
$ chown -R root:root luna
......@@ -188,6 +188,14 @@
# proxy_next_upstream http_500 http_502 http_503 http_504 http_404;
}
location /coco/ {
proxy_pass http://cocows/coco/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
access_log off;
}
location /guacamole/ {
proxy_pass http://guacamole/; # guacamole
proxy_buffering off;
......
......@@ -301,7 +301,7 @@ CentOS 7 安装文档
# 安装 Web Terminal 前端: Luna 需要 Nginx 来运行访问 访问(https://github.com/jumpserver/luna/releases)下载对应版本的 release 包,直接解压,不需要编译
$ cd /opt
$ wget https://github.com/jumpserver/luna/releases/download/1.4.1/luna.tar.gz
$ wget https://github.com/jumpserver/luna/releases/download/1.4.2/luna.tar.gz
$ tar xvf luna.tar.gz
$ chown -R root:root luna
......@@ -351,6 +351,14 @@ CentOS 7 安装文档
access_log off;
}
location /coco/ {
proxy_pass http://localhost:5000/coco/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
access_log off;
}
location /guacamole/ {
proxy_pass http://localhost:8081/; # 如果docker安装在别的服务器, 请填写它的ip
proxy_buffering off;
......
......@@ -355,6 +355,14 @@ CentOS 7 组件离线安装文档
access_log off;
}
location /coco/ {
proxy_pass http://localhost:5000/coco/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
access_log off;
}
location /guacamole/ {
proxy_pass http://localhost:8081/; # 如果docker安装在别的服务器, 请填写它的ip
proxy_buffering off;
......
......@@ -370,7 +370,7 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
::
$ cd /opt/
$ wget https://github.com/jumpserver/luna/releases/download/1.4.1/luna.tar.gz
$ wget https://github.com/jumpserver/luna/releases/download/1.4.2/luna.tar.gz
$ tar xvf luna.tar.gz
$ chown -R root:root luna
......@@ -461,6 +461,14 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
access_log off;
}
location /coco/ {
proxy_pass http://localhost:5000/coco/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
access_log off;
}
location /guacamole/ {
proxy_pass http://localhost:8081/; # 如果guacamole安装在别的服务器,请填写它的ip
proxy_buffering off;
......
......@@ -406,7 +406,7 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
::
$ cd /opt
$ wget https://github.com/jumpserver/luna/releases/download/1.4.1/luna.tar.gz
$ wget https://github.com/jumpserver/luna/releases/download/1.4.2/luna.tar.gz
$ tar xvf luna.tar.gz
$ chown -R root:root luna
......@@ -508,6 +508,14 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
access_log off;
}
location /coco/ {
proxy_pass http://localhost:5000/coco/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
access_log off;
}
location /guacamole/ {
proxy_pass http://localhost:8081/; # 如果guacamole安装在别的服务器,请填写它的ip
proxy_buffering off;
......
......@@ -52,7 +52,20 @@
$ cd ../utils && sh make_migrations.sh
$ cd ../ && ./jms start all
 
# 任意版本升级到 1.4.2 版本,需要修改 nginx 配置
$ vim /etc/nginx/conf.d/jumpserver.conf
...
location /coco/ {
proxy_pass http://localhost:5000/coco/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
access_log off;
}
...
2. 升级 Coco(如果是新开的终端,别忘了 source /opt/py3/bin/activate)
::
......@@ -76,7 +89,7 @@
::
$ cd /opt
$ wget https://github.com/jumpserver/luna/releases/download/1.4.1/luna.tar.gz
$ wget https://github.com/jumpserver/luna/releases/download/1.4.2/luna.tar.gz
$ tar xvf luna.tar.gz
$ chown -R root:root luna
......
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