• Resolved Patricia BT

    (@patricia70)


    Hello!!

    I would really like to use ActivityPub, Webfinger, Friends, etc. (EDIT: it’s a new site and no plugins besides those)
    I tried every solution linked here in the support forums, or on the GitHub repository.
    I even tried the “alternative if we cannot access the /.well-known folder” (it’s out of the site patch, but it’s my server so I can access, but well), such as this post and this ticket (#188 on GitHub)

    I tried every rule I found for .htaccess, and as I’m on a Apache + Nginx hybrid (on a cloud server, via Runcloud), I even tried adding the Nginx conf I found in this old ticket

    About Nginx I also tried what’s in this gist

    I keep getting a 403 forbidden error :/

    I also contacted RunCloud support, but I guess it’s out of their scope of support.

    Thanks in advance for your help

    • This topic was modified 3 months, 1 week ago by Patricia BT.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matthias Pfefferle

    (@pfefferle)

    I am sorry, but this error comes from the Webserver, so the request is not routed to WordPress at all, so you did the right thing when you reported the error to your hoster. The issue might be because letsencrypt also uses a .well-known path. Let me know if you need some more information for your hoster to fix the issue.

    Thread Starter Patricia BT

    (@patricia70)

    Thank you Matthias
    Now it works. so if it helps someone:
    I used the trick from here

    But as I had added webfinger as a subfolder and the json file in it (with my desired username)
    My Nginx config was correct to reach the end file (no 403)
    but then I got this when testing with https://webfinger.net/lookup/

    GET https://fedi.is/.well-known/webfinger?resource=https%3A%2F%2Ffedi.is%2F%3Frest_route%3D%2Factivitypub%2F1.0%2Fwebfinger
    17:01:57 Error getting JRD: 403 Forbidden

    because at some point it didn’t look for https://fedi.is/.well-known/webfinger/patriciabt?resource= etc and this ended in a 403

    Now solved! ??

    EDIT:
    my Nginx config is:

    location ^~ /.well-known/webfinger {
    auth_basic off;
    allow all;
    default_type text/plain;
    try_files $uri $uri/ /index.php?$args;
    break;
    }

    and at Runcloud it needs to be added to the application Nginx config

    • This reply was modified 3 months, 1 week ago by Patricia BT.
    Plugin Author Matthias Pfefferle

    (@pfefferle)

    Awesome! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.