Follow just added the 'Onion-Location" HTTP header per

· · Web · 1 · 0 · 3

@admin The header is apparently also sent, and thus the '.onion available' widget shown, when you are on the .onion page/site.

Nothing big, just thought I'd mention it :)

@FreePietje @admin not sure if that's supposed to be the case, i'll look into it

@orionwl @admin I noticed I got the widget on by @syntax but not on the corresponding .onion site.
OTOH, it's only a sample size of 1.

@FreePietje @admin setting headers conditionally is not trivial with nginx, the obvious if(){} doesn't work; i think i got it to work though—by using a variable generated though a map statement on $host

@orionwl @admin
Seems to work :)

I find configuring nginx really complicated; I basically don't understand how it (is supposed to) works.

I'm seriously considering using Apache again, which then delegates (sub)tasks to nginx where I know nginx is a better solution for that task.

@FreePietje @admin hmm in my experience nginx is simpler to configure (for the things i do) than what i remember from apache, it's just that it's inherently more minimalistic so less likely to support these kind of edge cases

@orionwl @admin Things may very well have changed for the better and/or the documentation has gotten better in time.
When I configured nginx for owncloud, quite a while ago, there was a lot of trial-and-error and subsequently hoping that I got it right.

@FreePietje @orionwl @admin Do you mean when you went to my onion site, that site also offered itself as an option? Would be good to see a screenshot. I'll also look into this myself.

@syntax @orionwl @admin
When I went to your .uk site, I got the widget. When I clicked on that widget, I got taken to the .onion site and then I didn't see the widget.
Exactly as I'd expected it to work.

With the .onion counterpart of, I still got the widget. But that has now been fixed.

Sign in to participate in the conversation
unidentified instance

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!