diff options
author | Christopher Baines <mail@cbaines.net> | 2022-04-22 14:44:16 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2022-04-22 14:44:16 +0100 |
commit | 375532bac733f1e539c489095916be957d85a278 (patch) | |
tree | 335403cc5b4c3a056a0c39b436da87332e9c73a3 /nginx | |
parent | 35c69f37d8fc75c247831cc4a287c5b747b51d84 (diff) | |
download | nar-herder-375532bac733f1e539c489095916be957d85a278.tar nar-herder-375532bac733f1e539c489095916be957d85a278.tar.gz |
Support handling /nar requests
If the nar is known about, X-Accel-Redirect is used to pass the
request back to the webserver which should then respond with the nar.
If the nar isn't known about, then a 404 response is returned.
In either case, there's a metric incremented to record the request.
Diffstat (limited to 'nginx')
0 files changed, 0 insertions, 0 deletions