mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Disable hedgedoc on alto
This commit is contained in:
parent
d13f631042
commit
3de481722b
2 changed files with 16 additions and 6 deletions
|
|
@ -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
15
hosts/alto/hedgedoc.html
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue