From b528cb7b4536db3430017c010cfa3d0fb0995cf3 Mon Sep 17 00:00:00 2001 From: piccihud Date: Wed, 18 Dec 2024 20:48:43 +0100 Subject: [PATCH] redirect root gotosocial to /about --- caddy/Caddyfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 46c3cc4..df02529 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -1,8 +1,6 @@ -# The Caddyfile is an easy way to configure your Caddy web server. - https://www.ilnostropianetaselvaggio.it { - # Set this path to your site's directory. - root * /path/to/website/ + + root * /home/sistemostro/website/ # Enable the static file server. file_server @@ -86,7 +84,9 @@ https://molly.ilnostropianetaselvaggio.it { } # GOT2SOCIAL +# https://docs.gotosocial.org/en/latest/getting_started/reverse_proxy/caddy/ https://social.ilnostropianetaselvaggio.it { + redir / /about 301 encode zstd gzip reverse_proxy * localhost:8080 { flush_interval -1