aboutsummaryrefslogtreecommitdiff
path: root/Caddyfile
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-10-27 09:58:33 -0700
committerFranck Cuny <franck@fcuny.net>2022-10-27 09:58:33 -0700
commit8a749d41915a9fc5dc0524a39faf75a24369aa6b (patch)
treeed397926cfa1f1fb782bd83ad8994fc6a5f93fdd /Caddyfile
parentref(css): set font family to sans-serif; darker background for code (diff)
downloadfcuny.net-8a749d41915a9fc5dc0524a39faf75a24369aa6b.tar.gz
feat(content): add my resume
Add my resume to the content, with a dedicated CSS. The resume is in org-mode format, and I use `pandoc` to convert it to HTML. This is done when the site is build, and is integrated in the docker image. It is available at /resume.html, but is not listed on the site, that way I can give the URL to who ever is interested in the future. It would be useful to also generate a PDF version of it and store it with other static content.
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Caddyfile b/Caddyfile
index 7456ef5..40c143e 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -3,6 +3,12 @@
auto_https off
}
+localhost:8080 {
+ root * {$SITE_ROOT}
+ encode gzip
+ file_server
+}
+
http://fcunynet.fly.dev {
redir https://fcuny.net
}