Skip to content

Commit

Permalink
Automatically redirect status.acmcsuf.com to dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondburned committed Oct 6, 2023
1 parent e504a3d commit c8438dd
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion servers/cirno/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,16 @@ spookathon.acmcsuf.com {
}

status.acmcsuf.com {
reverse_proxy * localhost:38573
@unauthenticated {
# Match if the Cookie header is missing.
header !Cookie
}
handle @unauthenticated {
redir * https://status.acmcsuf.com/public-dashboards/6a7d2bd924764b8b91ffdd4aa33fc11b
}
handle * {
reverse_proxy * localhost:38573
}
}

# Forward all unhandled subdomains to the CS306 server over Tailscale.
Expand Down

0 comments on commit c8438dd

Please sign in to comment.