Add Media-Token beside access token
Media-Token can be used only to access the content, but unable to modify user data
This commit is contained in:
parent
0a71a6c840
commit
1f06c40c4c
31 changed files with 516 additions and 762 deletions
|
|
@ -26,7 +26,7 @@ server {
|
|||
location /media {
|
||||
root /media-data/;
|
||||
autoindex on;
|
||||
auth_request /user/is_privileged;
|
||||
auth_request /has_media_access;
|
||||
limit_req zone=ip burst=12 delay=8;
|
||||
|
||||
# enable cache
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue