aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-01-22 07:42:03 -0500
committertdro <tdro@noreply.example.com>2023-01-22 07:42:03 -0500
commit1a2c89c1837cb167585a1f7afaabec81a5ffae43 (patch)
tree74b1dd74bfe72f189e5e02fba9fc0d19ab43b584
parent6c889c658ed71bdc18e5b767053530618dcf1759 (diff)
downloadcanory-1a2c89c1837cb167585a1f7afaabec81a5ffae43.tar.gz
canory-1a2c89c1837cb167585a1f7afaabec81a5ffae43.tar.bz2
canory-1a2c89c1837cb167585a1f7afaabec81a5ffae43.zip
shell: Swap to caddy
-rw-r--r--Makefile2
-rw-r--r--content/default/messages/quickstart.md1
-rw-r--r--shell.nix2
3 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 937cd02..cd04c15 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ hugo:
rm -f .hugo_build.lock
server:
- php -S 127.0.0.1:9294 -t public
+ caddy file-server --listen :9294 --root public
test:
make test-html
diff --git a/content/default/messages/quickstart.md b/content/default/messages/quickstart.md
index 0db74e2..c665ded 100644
--- a/content/default/messages/quickstart.md
+++ b/content/default/messages/quickstart.md
@@ -27,4 +27,5 @@ python -m http.server --bind 127.0.0.1 8124
busybox httpd -f -p 127.0.0.1:8125
php -S 127.0.0.1:8126
ruby -run -e httpd . -p 8127
+caddy file-server --listen :8128
```
diff --git a/shell.nix b/shell.nix
index e031d07..37f271f 100644
--- a/shell.nix
+++ b/shell.nix
@@ -59,7 +59,7 @@ in mkShellPure {
pkgs.jing
pkgs.libxml2
pkgs.libxslt
- pkgs.php
+ pkgs.caddy
pkgs.subversion
pkgs.yj
];