redirect root gotosocial to /about

This commit is contained in:
piccihud 2024-12-18 20:48:43 +01:00
parent 401aa5725d
commit b528cb7b45

View File

@ -1,8 +1,6 @@
# The Caddyfile is an easy way to configure your Caddy web server.
https://www.ilnostropianetaselvaggio.it { 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. # Enable the static file server.
file_server file_server
@ -86,7 +84,9 @@ https://molly.ilnostropianetaselvaggio.it {
} }
# GOT2SOCIAL # GOT2SOCIAL
# https://docs.gotosocial.org/en/latest/getting_started/reverse_proxy/caddy/
https://social.ilnostropianetaselvaggio.it { https://social.ilnostropianetaselvaggio.it {
redir / /about 301
encode zstd gzip encode zstd gzip
reverse_proxy * localhost:8080 { reverse_proxy * localhost:8080 {
flush_interval -1 flush_interval -1