Skip to content

Having trouble getting this working on NGINX / Flywheel #446

Answered by piperhaywood
piperhaywood asked this question in Q&A
Discussion options

You must be logged in to vote

Another update for posterity:

We got it working, I think!

Ultimately, it seemed like the crux of the issue was the full-page caching.

Flywheel dug a bit further in to Fastly’s documentation (they use Fastly for caching) and found that they could add a Vary header to the NGINX config for content negotiation. They did that, and it seemed to start working immediately! Searching for @blog@piperhaywood.com on Mastodon surfaces my blog ActivityPub account (no user accounts because I have those turned off).

For future reference, this is the NGINX config tweak that got ActivityPub and Webfinger working on Flywheel with their Fastly caching setup:

location ~* /.well-known/webfinger {
    default_t…

Replies: 5 comments 17 replies

Comment options

You must be logged in to vote
10 replies
@pfefferle
Comment options

@piperhaywood
Comment options

@piperhaywood
Comment options

@piperhaywood
Comment options

Answer selected by piperhaywood
@pfefferle
Comment options

@piperhaywood
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@pfefferle
Comment options

@jeherve
Comment options

@pfefferle
Comment options

@jeherve
Comment options

Comment options

You must be logged in to vote
3 replies
@jeherve
Comment options

@alecmuffett
Comment options

@pfefferle
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants