From 90187a00f3746de5b20647887bcc34e2a4243e17 Mon Sep 17 00:00:00 2001 From: nabbisen Date: Thu, 26 Aug 2021 12:28:35 +0900 Subject: [PATCH] fix warnings on webfinger/nodeinfo on OpenBSD httpd --- admin_manual/installation/example_openbsd.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/admin_manual/installation/example_openbsd.rst b/admin_manual/installation/example_openbsd.rst index dfb37c7f270..4db8761ee16 100644 --- a/admin_manual/installation/example_openbsd.rst +++ b/admin_manual/installation/example_openbsd.rst @@ -88,7 +88,11 @@ Create a virtualhost in ``/etc/httpd.conf`` and add the following content to it: } location "/.well-known/webfinger" { - block return 301 "https://$SERVER_NAME/nextcloud/public.php?service=webfinger" + block return 301 "https://$SERVER_NAME/nextcloud/index.php/$DOCUMENT_URI" + } + + location "/.well-known/nodeinfo" { + block return 301 "https://$SERVER_NAME/nextcloud/index.php/$DOCUMENT_URI" } location match "/nextcloud/oc[ms]%-provider/*" {