how nginx works i think, by holly:
so you have programs on your server that think they're talking to the internet. like my mastodon tihnks it's talking to the internet directly. but it's not because that would be bad. instead you have nginx sitting between them. the internet talks to nginx and then nginx tells mastodon what it said, and then whatever mastodon says back nginxs says to the internet
@monorail why would that be bad
-F
@Felthry in general? ¯\_(ツ)_/¯
in my case, in addition to whatever other benefits it has: mastodon wants to be the only thing talking to the internet, but nginx knows how to talk to more than one thing, and it knows how to tell which thing any given request is for
@monorail oh so it's kind of like using an rs232 to rs485 conversion thingy
-F
@monorail it tends to help yeah
-F
@Felthry i find that, quite often, you need more than one thing to exist