Skip to content

Instantly share code, notes, and snippets.

@wcypierre
Created August 6, 2013 04:18
Show Gist options
  • Save wcypierre/6161965 to your computer and use it in GitHub Desktop.
Save wcypierre/6161965 to your computer and use it in GitHub Desktop.
Nginx - Ajaxplorer drop.conf
location = /conf/ { deny all; }
location = /data/ { deny all; }
location = /robots.txt { access_log off; log_not_found off; }
location = /favicon.ico { access_log off; log_not_found off; }
location ~ /\. { access_log off; log_not_found off; deny all; }
location ~ ~$ { access_log off; log_not_found off; deny all; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment