Update default config
This commit is contained in:
parent
0c2ac431d1
commit
c29c07a69e
18
conf.py
18
conf.py
|
@ -11,7 +11,7 @@ display_visitor_ip = True
|
|||
# Hooks used
|
||||
pre_analysis_hooks = ['page_to_hit', 'robots']
|
||||
post_analysis_hooks = ['referers', 'top_pages', 'top_downloads', 'operating_systems', 'browsers', 'feeds', 'hours_stats', 'reverse_dns', 'ip_to_geo']
|
||||
display_hooks = ['track_users', 'top_visitors', 'all_visits', 'referers', 'top_pages', 'top_downloads', 'referers_diff', 'ip_to_geo', 'operating_systems', 'browsers', 'feeds', 'hours_stats', 'top_downloads_diff', 'robot_bandwidth', 'top_pages_diff']
|
||||
display_hooks = ['filter_users', 'top_visitors', 'all_visits', 'referers', 'top_pages', 'top_downloads', 'referers_diff', 'ip_to_geo', 'operating_systems', 'browsers', 'feeds', 'hours_stats', 'top_downloads_diff', 'robot_bandwidth', 'top_pages_diff']
|
||||
|
||||
# Reverse DNS timeout
|
||||
reverse_dns_timeout = 0.2
|
||||
|
@ -34,13 +34,25 @@ compress_output_files = ['html', 'css', 'js']
|
|||
# Tracked IP
|
||||
tracked_ip = ['192.168.1.1']
|
||||
|
||||
# Filtered IP
|
||||
filtered_ip = [
|
||||
# r'192.168.*', # Local
|
||||
]
|
||||
filtered_users = [
|
||||
# [['country_code', '=', 'cn'], ['viewed_pages', '>=', '100']],
|
||||
]
|
||||
|
||||
# Excluded IP
|
||||
excluded_ip = [
|
||||
# r'192.168.*', # Local
|
||||
r'192.168.*', # Local
|
||||
r'117.78.58.*', # China ecs-117-78-58-25.compute.hwclouds-dns.com
|
||||
]
|
||||
|
||||
# Feeds url
|
||||
feeds = [r'^.*/atom.xml$', r'^.*/rss.xml$']
|
||||
feeds = [r'/atom.xml', r'/rss.xml']
|
||||
|
||||
# Feeds referers url
|
||||
feeds_referers = ['https://feedly.com']
|
||||
|
||||
# Consider xml files as multimedia (append to current list)
|
||||
multimedia_files_append = ['xml']
|
||||
|
|
Loading…
Reference in New Issue
Block a user