diff --git a/exozyme.conf b/exozyme.conf index a69ad43..dd3bf29 100644 --- a/exozyme.conf +++ b/exozyme.conf @@ -23,10 +23,6 @@ server { location /.well-known/matrix/server { return 200 '{"m.server": "chat.exozy.me"}'; } - - location /.well-known/webfinger { - return 301 https://social.exozy.me$request_uri; - } location /howtuwu { alias /srv/http/exozy.me/howtuwu/public; @@ -50,6 +46,10 @@ server { # Disable cache proxy_buffering off; } + + location ~ ^/~$ { + rewrite ^~(\w+)\.?.*$ /pages/$1; + } location / { try_files $uri $uri/ =404;