From 94194e0fe43a397383e30b231189d53ac07668c3 Mon Sep 17 00:00:00 2001 From: keakon Date: Tue, 1 Nov 2022 21:18:38 +0800 Subject: [PATCH] update domain placeholder --- README.md | 3 ++- conf/Caddyfile | 2 +- doodle/templates/web/footer.html | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1532c04..8497a56 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,8 @@ Then you can open [http://0.0.0.0:8080](http://0.0.0.0:8080) to check it. $ cp Doodle/docker-compose.yml doodle/docker-compose.yml $ cp -r Doodle/conf doodle/conf ``` -4. Start docker compose: +4. Replace "localhost" into your own domain in conf/Caddyfile. +5. Start docker compose: ```bash $ cd doodle $ docker compose up -d diff --git a/conf/Caddyfile b/conf/Caddyfile index aaf646f..5d050f9 100644 --- a/conf/Caddyfile +++ b/conf/Caddyfile @@ -1,4 +1,4 @@ -keakon.net, www.keakon.net, lnnl.ml { +localhost { handle_path /static/* { root * /proc/1/root/root/Doodle/doodle/static file_server { diff --git a/doodle/templates/web/footer.html b/doodle/templates/web/footer.html index aa9e928..b3f4d1e 100755 --- a/doodle/templates/web/footer.html +++ b/doodle/templates/web/footer.html @@ -3,7 +3,7 @@

▲Top

-

©${{CONFIG.BLOG_TITLE}}Powered by DoodleDesigned by keakon

+

©${{CONFIG.BLOG_TITLE}}Powered by DoodleDesigned by keakon