From 2d084db170283091fe355380531210ce4f1f6d27 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sun, 17 Dec 2023 13:52:20 +0100 Subject: [PATCH] Add webfinger redirection for sub-path (ActivityPub actor visibility) Fixes https://github.com/YunoHost-Apps/wordpress_ynh/issues/61 --- conf/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 52a64d5..f1729ae 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -31,3 +31,7 @@ location __PATH__/ { # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; } + +#sub_path_only location /.well-known/ { +#sub_path_only return 301 https://__DOMAIN__/__PATH__/$request_uri; +#sub_path_only }