mirror of
https://github.com/elisspace/rtinst.git
synced 2026-08-31 08:32:36 +00:00
@@ -1,6 +1,7 @@
|
||||
location ~ ^/download/(.+?)(/.*)?$ {
|
||||
alias /home/$1$2;
|
||||
charset UTF-8;
|
||||
source_charset UTF-8;
|
||||
set $user $1;
|
||||
if ($remote_user = '') { break; }
|
||||
if ($user != $remote_user) { return 403; }
|
||||
|
||||
Reference in New Issue
Block a user