Skip to content

Commit ae6a0ca

Browse files
committed
artemis: discontinue hedgedoc
1 parent ee1c7c1 commit ae6a0ca

File tree

5 files changed

+42
-41
lines changed

5 files changed

+42
-41
lines changed

hosts/artemis/applications/default.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
./syncthing.nix
1313
./paperless.nix
1414
./iperf3.nix
15-
./hedgedoc
1615
./atuin.nix
1716
./attic.nix
1817
./changedetection.nix

hosts/artemis/applications/hedgedoc/default.nix

Lines changed: 0 additions & 40 deletions
This file was deleted.
-1.2 KB
Binary file not shown.

hosts/artemis/applications/nginx-meta.nix

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,19 @@
3535
'';
3636
};
3737
};
38+
"hedgedoc.marie.cologne" = {
39+
extraConfig = ''
40+
error_page 410 @gone;
41+
'';
42+
locations."/" = {
43+
return = "410";
44+
};
45+
locations."@gone" = {
46+
root = "${../website}";
47+
extraConfig = ''
48+
rewrite ^(.*)$ /discontinued.html break;
49+
'';
50+
};
51+
};
3852
};
3953
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Service discontinued</title>
5+
<style>
6+
body {
7+
width: 100%;
8+
display: flex;
9+
justify-content: center;
10+
align-items: center;
11+
flex-direction: column;
12+
margin: 0;
13+
padding: 0;
14+
height: 100vh;
15+
}
16+
html {
17+
color-scheme: light dark;
18+
font-family: sans-serif;
19+
}
20+
</style>
21+
<link rel="me" href="https://chaos.social/@marie">
22+
<meta name="robots" content="noindex">
23+
</head>
24+
<body>
25+
<h1>This service has been discontinued.</h1>
26+
<p>Please contact the administrator if you're missing something.</p>
27+
</body>
28+
</html>

0 commit comments

Comments
 (0)