Skip to content

Commit

Permalink
Merge pull request #10 from TGU-CSDN/dev
Browse files Browse the repository at this point in the history
fix: fix backend server config
  • Loading branch information
fly3949 authored Dec 11, 2024
2 parents e922d52 + 55af667 commit 8c5435a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ fi
if [ ! -f "$ROOT/.install.lock" ]; then
echo "INSTALL LOCK FILE DO NOT REMOVE IT" > "$ROOT/.install.lock"

hydrooj cli system set server.host 0.0.0.0
hydrooj cli system set server.xff x-forwarded-for
hydrooj cli system set server.xhost x-forwarded-host
hydrooj cli system set server.xproxy true

hydrooj cli user create systemjudge@systemjudge.local root rootroot 2
hydrooj cli user setSuperAdmin 2
Expand Down

0 comments on commit 8c5435a

Please sign in to comment.