Skip to content

Commit

Permalink
Update nginx.conf to fix 404 error for the CAPTCHA. (#295)
Browse files Browse the repository at this point in the history
This can fix the 404 error for the CAPTCHA in some platforms
  • Loading branch information
stephenzwj authored Feb 20, 2024
1 parent fd453dd commit 3691aa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/docker/nginx/conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ http {

server {
listen 80;
server_name localhost;
server_name 127.0.0.1;

# https配置参考 start
#listen 443 ssl;
Expand Down Expand Up @@ -46,4 +46,4 @@ http {
root html;
}
}
}
}

0 comments on commit 3691aa2

Please sign in to comment.