Update my caddy message.
This commit is contained in:
+22
-1
@@ -23,7 +23,28 @@
|
|||||||
services.caddy = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts."syedm.dev".extraConfig = ''
|
virtualHosts."syedm.dev".extraConfig = ''
|
||||||
respond "Hello, world!"
|
respond <<EOF
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Syed M</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Hey! 👋</h1>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
This site is still under construction — check back soon!
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
In the meantime, check out my
|
||||||
|
<a href="https://git.syedm.dev">projects</a>
|
||||||
|
or play
|
||||||
|
<a href="https://infinsweeper.syedm.dev">Infinsweeper</a>.
|
||||||
|
</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
EOF
|
||||||
'';
|
'';
|
||||||
virtualHosts."git.syedm.dev".extraConfig = ''
|
virtualHosts."git.syedm.dev".extraConfig = ''
|
||||||
reverse_proxy localhost:3000
|
reverse_proxy localhost:3000
|
||||||
|
|||||||
Reference in New Issue
Block a user