mirror of https://github.com/jumpserver/jumpserver
Updated v0.5.0 Nginx 配置文件 (markdown)
parent
8bd08a275e
commit
db4523f4f8
|
@ -8,7 +8,7 @@ server {
|
||||||
|
|
||||||
location /luna/ {
|
location /luna/ {
|
||||||
try_files $uri / /index.html;
|
try_files $uri / /index.html;
|
||||||
alias /opt/luna/;
|
alias /path/of/your/luna/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /socket.io/ {
|
location /socket.io/ {
|
||||||
|
@ -35,6 +35,4 @@ server {
|
||||||
|
|
||||||
关键字 | 示例 | 说明
|
关键字 | 示例 | 说明
|
||||||
------------- | ------------- |-------
|
------------- | ------------- |-------
|
||||||
JUMPSERVER_IP | 192.168.20.137 | Jumpserver 服务器IP
|
/path/of/your/luna/ | /opt/luna/ | luna所在的路径
|
||||||
JUMPSERVER_LOCALHOST | 127.0.0.1 | Jumpserver 服务器本地IP
|
|
||||||
debug | warning | 已线上使用日志级别应该改为warning
|
|
Loading…
Reference in New Issue