Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
b9015e9e
Unverified
Commit
b9015e9e
authored
Jan 07, 2019
by
wojiushixiaobai
Committed by
GitHub
Jan 07, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2321 from wojiushixiaobai/docs
[Update]更新文档
parents
610372c4
bb0e092b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
setup_by_ubuntu.rst
docs/setup_by_ubuntu.rst
+4
-6
No files found.
docs/setup_by_ubuntu.rst
View file @
b9015e9e
...
...
@@ -498,20 +498,20 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
.. code-block:: shell
$ apt-get -y install nginx
$ rm -rf /etc/nginx/site-enabled/default
**6.2 准备配置文件 修改 /etc/nginx/site-enabled/
default
**
**6.2 准备配置文件 修改 /etc/nginx/site-enabled/
jumpserver.conf
**
.. code-block:: nginx
$ vim /etc/nginx/site-enabled/
default
$ vim /etc/nginx/site-enabled/
jumpserver.conf
server {
listen 80;
server_name _;
## 新增如下内容,以上内容是原文内容,请从这一行开始复制
client_max_body_size 100m; # 录像及文件上传大小限制
location /luna/ {
...
...
@@ -566,8 +566,6 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
## 到此结束,请不要继续复制了
}
**6.3 重启 Nginx**
...
...
@@ -575,7 +573,7 @@ Luna 已改为纯前端,需要 Nginx 来运行访问
.. code-block:: shell
$ nginx -t # 如果没有报错请继续
$
service nginx restart
$
nginx -s reload
**6.4 开始使用 Jumpserver**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment