You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# If the host isn't for Clojars then reject it.
# If we return 444 then the connection is immediately closed.
# This shows up as a 502 error on the load balancer which
# is probably not ideal. Instead we return 418 (I'm a Teapot).
if ($host !~* ^(repo|app)\.clojars\.org$ ) {
return 418;
}
I have something similar to this for Deps, we just need to tweak the regex, probably to just .*.clojars.org.
We had a report that Clojars responds to unknown host headers. We should drop requests that don't match headers that we expect: https://stackoverflow.com/a/28591245/826486
The text was updated successfully, but these errors were encountered: