Skip to content

Commit

Permalink
Merge pull request #178 from jumpserver/dev
Browse files Browse the repository at this point in the history
v3.10.8
  • Loading branch information
BaiJiangJie committed Apr 18, 2024
2 parents af134ef + 7783ce3 commit 1f9828c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG VERSION
FROM registry.fit2cloud.com/jumpserver/web-static:v1.0.7 as static
FROM registry.fit2cloud.com/jumpserver/web-static:v1.1.3 as static
FROM registry.fit2cloud.com/jumpserver/lina:${VERSION} as lina
FROM registry.fit2cloud.com/jumpserver/luna:${VERSION} as luna
FROM registry.fit2cloud.com/jumpserver/applets:${VERSION} as applets
Expand Down
15 changes: 15 additions & 0 deletions includes/razor.conf.disabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
location /razor/ {
proxy_pass http://razor:8084;
proxy_buffering off;
proxy_http_version 1.1;
proxy_request_buffering off;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_ignore_client_abort on;
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 6000;
}
6 changes: 6 additions & 0 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ function config_components() {
if [ "${KAEL_ENABLED}" == "0" ]; then
mv /etc/nginx/includes/kael.conf /etc/nginx/includes/kael.conf.disabled
fi

if [ "${USE_XPACK}" == "1" ]; then
if [ "${RAZOR_ENABLED}" != "0" ]; then
mv /etc/nginx/includes/razor.conf.disabled /etc/nginx/includes/razor.conf
fi
fi
}

function main() {
Expand Down

0 comments on commit 1f9828c

Please sign in to comment.