added nginx rules to deny access to repos or .htaccess files
added function to remove pyc files from application dir