Skip to content

Commit

Permalink
perf: allow well known
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler committed Oct 11, 2024
1 parent e5f1a7e commit 3c332be
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 3c332be

Please sign in to comment.