-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add restricting asset downloads via NGINX using subrequest auth
* Add an additional route that returns whether a user is authenticated * Use `X-Original-URI` for the HMAC computation in this additional route so the token auth works despite the changed request URL * Extend configuration template for NGINX to show an example configuration * See https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-subrequest-authentication * See https://nginx.org/en/docs/http/ngx_http_auth_request_module.html * See https://progress.opensuse.org/issues/174301
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters