Disable hedgedoc on alto

This commit is contained in:
SebastianStork 2025-05-13 00:24:43 +02:00
parent d13f631042
commit 3de481722b
2 changed files with 16 additions and 6 deletions

View file

@ -17,7 +17,7 @@ in
serve = {
isFunnel = true;
target = "localhost:${toString myConfig.hedgedoc.port}";
target = toString ./hedgedoc.html;
};
caddyServe = {
@ -32,11 +32,6 @@ in
};
};
hedgedoc = {
enable = true;
subdomain = config.networking.hostName;
backups.enable = true;
};
nextcloud = {
enable = true;
inherit (caddyServe.nextcloud) subdomain;

15
hosts/alto/hedgedoc.html Normal file
View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="refresh" content="0; url=https://docs.sprouted.cloud/" />
<script type="text/javascript">
window.location.href = "https://docs.sprouted.cloud/";
</script>
<title>Hedgedoc Umleitung</title>
</head>
<body>
Falls du nicht automatisch weitergeleitet wirst, folge diesem
<a href="https://docs.sprouted.cloud/">Link zu Hedgedoc</a>.
</body>
</html>