Commit 329e922e authored by omega8cc's avatar omega8cc Committed by anarcat

Issue #1197172 - fix for files access bypass bug in the Nginx configuration.

parent 8eb08167
......@@ -92,6 +92,14 @@
internal;
}
###
### deny direct access to private downloads also for short, rewritten URLs
###
location ~* /files/private/ {
access_log off;
internal;
}
###
### send search to php-fpm early so searching for node.js will work
### deny bots on search uri without 403 response
......
......@@ -78,6 +78,14 @@
internal;
}
###
### deny direct access to private downloads also for short, rewritten URLs
###
location ~* /files/private/ {
access_log off;
internal;
}
###
### send search to php-fpm early so searching for node.js will work
### deny bots on search uri without 403 response
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment