jerry ,
@jerry@infosec.exchange avatar

I run aode relay on relay.infosec.exchange. Today, it listens directly to the internet, however I'd like to move it into docker and have it run behind my nginx reverse proxy. All my attempts to do that result in the relay not properly parsing connections, and the debug info is basically no help. Does anyone who runs aode relay use this configuration and willing to share a sample nginx config?

jerry OP ,
@jerry@infosec.exchange avatar

disregard. Looks like I figured it out. I will post something so others have it.

vmstan ,
@vmstan@vmst.io avatar

@jerry I’ve run it before in this setup and don’t recall the Nginx configuration to be that particular. Are you still trying to do HTTPS between Nginx and the Relay?

jerry OP ,
@jerry@infosec.exchange avatar

@vmstan no, http between nginx and the relay. it'll be https between the world and nginx.

thisismissem ,
@thisismissem@hachyderm.io avatar

@jerry what sort of behaviour do you see?

jerry OP ,
@jerry@infosec.exchange avatar

@thisismissem subscribing to the relay from a mastodon (or any other server) never completes

thisismissem ,
@thisismissem@hachyderm.io avatar

@jerry any error logs on either side at all?

jerry OP ,
@jerry@infosec.exchange avatar

@thisismissem The specific error I see in the relay server is this: 2024-06-30T16:01:40.683498Z ERROR actix_http::h1::dispatcher: stream error: request parse error: invalid Header provided

jerry OP ,
@jerry@infosec.exchange avatar

@thisismissem I fixed it. I’ll post a working config shortly in case it helps others

gary_alderson ,
@gary_alderson@infosec.exchange avatar

@jerry let us know what ends up working - the r proxy thing is fantastic but does have some foibles depending on app you run, even think about asking a few different ai for their input - it sounds trite but if it works then what is the difference - you may have to prompt them for answer a few times

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines