mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11: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 = {
|
serve = {
|
||||||
isFunnel = true;
|
isFunnel = true;
|
||||||
target = "localhost:${toString myConfig.hedgedoc.port}";
|
target = toString ./hedgedoc.html;
|
||||||
};
|
};
|
||||||
|
|
||||||
caddyServe = {
|
caddyServe = {
|
||||||
|
|
@ -32,11 +32,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
hedgedoc = {
|
|
||||||
enable = true;
|
|
||||||
subdomain = config.networking.hostName;
|
|
||||||
backups.enable = true;
|
|
||||||
};
|
|
||||||
nextcloud = {
|
nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inherit (caddyServe.nextcloud) subdomain;
|
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