mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-08-17 19:35:42 +02:00
modify rengine.conf nginx to not serve media files unauthenticated
This commit is contained in:
@@ -32,8 +32,10 @@ server {
|
||||
alias /usr/src/app/staticfiles/;
|
||||
}
|
||||
|
||||
location /media/ {
|
||||
location /protected_media/ {
|
||||
internal;
|
||||
alias /usr/src/scan_results/;
|
||||
autoindex off;
|
||||
}
|
||||
|
||||
ssl_protocols TLSv1.2;
|
||||
|
||||
Reference in New Issue
Block a user