Y
Hacker News
new
|
ask
|
show
|
jobs
by
aftbit
68 days ago
Yeah it's a bit odd to use a Haskell server to serve a static file which nginx then needs to buffer. You'd do much much better just serving the file out of nginx. You could authenticate requests using the very simple auth_request module:
https://nginx.org/en/docs/http/ngx_http_auth_request_module....