Skip to content

Commit

Permalink
Merge pull request #488 from jumpserver/dev
Browse files Browse the repository at this point in the history
v4.3.0
  • Loading branch information
BaiJiangJie authored Oct 17, 2024
2 parents a358b09 + 3c332be commit 9dfdfad
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion config_init/nginx/lb_http_server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@ server {
listen 80;
# listen [::]:80;
# server_name demo.jumpserver.org; # 取消注释并自行修改成你自己的域名
return 307 https://$server_name$request_uri;

location /.well-known/ {
proxy_pass http://http_server;
}

location / {
return 307 https://$server_name$request_uri;
}
}

server {
Expand Down

0 comments on commit 9dfdfad

Please sign in to comment.