@ -37,6 +37,11 @@ server {
return 302 https://${KEYCLOAK_HOSTNAME}.${DOMAIN_NAME}$request_uri;
}
# redirect mastodon handles (which start with @) directly to mastodon site
location ~ ^/@ {
return 302 https://${MASTODON_HOSTNAME}.${DOMAIN_NAME}$request_uri;
# tilde club home directories
location ~ ^/~(.+?)(/.*)?$ {
alias /home/$1/public_html$2;