Skip to content

Commit

Permalink
perf: change file
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler committed Oct 11, 2024
1 parent 53747a4 commit 4d4563c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 6 additions & 0 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ server {

client_max_body_size 5000m;

# For wecom verify
location ~* ^/WW_verify_[^.]+\.txt$ {
root /opt/jumpserver/data/;
}

# For acme challenge
location /.well-known/ {
root /opt/jumpserver/data/;
}

location = /robots.txt {
default_type text/html;
add_header Content-Type "text/plain; charset=UTF-8";
Expand Down
5 changes: 0 additions & 5 deletions http_server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ server {

client_max_body_size 5000m;

# For acme challenge
location /.well-known/ {
root /opt/jumpserver/data;
}

location / {
proxy_pass http://localhost:51980;
proxy_buffering off;
Expand Down

0 comments on commit 4d4563c

Please sign in to comment.