@rra @rlafuente if you want to have a nice homepage like we do in ciberlandia.pt, just create some nice page and put it in some directory, like:
/home/mastodon/live/custom-index/
and then add these rules to your nginx config file:
#########################
# START CUSTOM HOMEPAGE #
#########################
location /welcome {
rewrite ^ /welcome/ redirect;
}
location /welcome/ {
alias /home/mastodon/live/custom-index/;
}
location = / {
if ($cookie__session_id = "") {
rewrite ^/$ https://ciberlandia.pt/welcome/ redirect;
}
try_files $uri @proxy;
}
#######################
# END CUSTOM HOMEPAGE #
#######################
Hope this helps.