Nocturnal Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Salamander@mander.xyz to ActivityPub@lemmy.ml · 3 years ago

How can I serve a static file in response to a Webfinger query?

message-square
message-square
0
fedilink
1
message-square

How can I serve a static file in response to a Webfinger query?

Salamander@mander.xyz to ActivityPub@lemmy.ml · 3 years ago
message-square
0
fedilink

I am trying to follow this ActivityPub tutorial.

I would like to get my server to respond with a static file when it gets a query for https://domain.com/.well_known/webfinger?resource=act%3Ausername%40domain.com

Since it is not explained in the tutorial I suppose that this is a very basic thing to do, but I have never dealt with this type of query before. What is the simplest way achieve this? My server is using nginx to serve a basic static html at domain.com.

alert-triangle
You must log in or register to comment.

ActivityPub@lemmy.ml

activitypub@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !activitypub@lemmy.ml

This is a community dedicated to discussing technical details related to ActivityPub.
We welcome developers familiar with the protocol!

https://activitypub.rocks/
https://www.w3.org/TR/activitypub/

Other ActivityPub communities on Lemmy

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 2 users / week
  • 17 users / month
  • 46 users / 6 months
  • 1 local subscriber
  • 740 subscribers
  • 55 Posts
  • 4 Comments
  • Modlog
  • mods:
  • mister_monster@lemmy.ml
  • testman@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org