alecmuffett/eotk

Enable nginx works to be publicly accessible

tomrittervg opened this issue · 3 comments

We would like to have the nginx workers be publicly accessible so we can treat them like any other webserver for monitoring purposes. Right now they only listen on a local domain socket (which is cool!) but precludes this.

Good idea.

How about some sort of "I AM ALIVE" message when connecting to the server on port 80?

It strikes me that all the "Host"/virtual-server-name-expectation-shenanigans would inhibit onion-like access.

Well, two ideas.

  1. Yes, a 'I am alive' would probably sufficient
  2. But if you duplicated the rewriting logic (which should be easy?) for a second, non-onion domain, you would enable non-Tor QA on the rewriting rules

I'll work on a cleartext checker so that you can see that the daemons are "up"

that said: if you enable HELLO_ONION then you can access the /hello-onion/ URL on the workers using a torified version of curl, to determine that they are up in an integration-testing kind of way