Skip to content

Commit

Permalink
Merge pull request #44 from tgstation-operations/TGSHealthy
Browse files Browse the repository at this point in the history
Add TGS caddy health checks
  • Loading branch information
Cyberboss authored Feb 25, 2025
2 parents bfab768 + a57f55e commit abad783
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@
useACMEHost = "tgs.blockmoths.eu.tgstation13.org";
extraConfig = ''
encode gzip zstd
reverse_proxy localhost:5000
reverse_proxy localhost:5000 {
health_uri /health
health_port 5000
}
'';
};
"s3.tgstation13.org" = {
Expand Down
5 changes: 4 additions & 1 deletion systems/game-servers/systems/staging/modules/caddy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@
useACMEHost = "tgs.wiggle.staging.tgstation13.org";
extraConfig = ''
encode gzip zstd
reverse_proxy localhost:5000
reverse_proxy localhost:5000 {
health_uri /health
health_port 5000
}
'';
};
};
Expand Down

0 comments on commit abad783

Please sign in to comment.