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
|
# Hooks used
|
||||||
pre_analysis_hooks = ['page_to_hit', 'robots']
|
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']
|
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
|
||||||
reverse_dns_timeout = 0.2
|
reverse_dns_timeout = 0.2
|
||||||
|
@ -34,13 +34,25 @@ compress_output_files = ['html', 'css', 'js']
|
||||||
# Tracked IP
|
# Tracked IP
|
||||||
tracked_ip = ['192.168.1.1']
|
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
|
||||||
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 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)
|
# Consider xml files as multimedia (append to current list)
|
||||||
multimedia_files_append = ['xml']
|
multimedia_files_append = ['xml']
|
||||||
|
|
Loading…
Reference in New Issue
Block a user