diff --git a/automation/roles/mitmproxy/files/bubble_modify.py b/automation/roles/mitmproxy/files/bubble_modify.py
index e5077fd3..eba8bab5 100644
--- a/automation/roles/mitmproxy/files/bubble_modify.py
+++ b/automation/roles/mitmproxy/files/bubble_modify.py
@@ -82,7 +82,7 @@ def send_bubble_response(response):
def responseheaders(flow):
if flow.request.path and flow.request.path.startswith(BUBBLE_URI_PREFIX):
- uri = 'https://' + bubble_host_alias + ':' + str(bubble_ssl_port) + '/' + flow.request.path[len(BUBBLE_URI_PREFIX):]
+ uri = 'http://127.0.0.1:' + bubble_port + '/' + flow.request.path[len(BUBBLE_URI_PREFIX):]
bubble_log('responseheaders: sending special bubble request to '+uri)
headers = {
'Accept' : 'application/json',
diff --git a/automation/roles/mitmproxy/templates/bubble_config.py.j2 b/automation/roles/mitmproxy/templates/bubble_config.py.j2
index 27ec274a..aee0d31e 100644
--- a/automation/roles/mitmproxy/templates/bubble_config.py.j2
+++ b/automation/roles/mitmproxy/templates/bubble_config.py.j2
@@ -2,4 +2,4 @@ bubble_network = '{{ bubble_network }}'
bubble_port = '{{ admin_port }}';
bubble_host = '{{ server_name }}'
bubble_host_alias = '{{ server_alias }}'
-bubble_ssl_port = {{ ssl_port }}
+bubble_ssl_port = '{{ ssl_port }}'
diff --git a/bubble-server/src/main/resources/logback.xml b/bubble-server/src/main/resources/logback.xml
index f590711f..f3970f6a 100644
--- a/bubble-server/src/main/resources/logback.xml
+++ b/bubble-server/src/main/resources/logback.xml
@@ -41,7 +41,7 @@
-
+
diff --git a/bubble-server/src/main/resources/models/apps/user_block/hn/bubbleApp_userBlock_hn_matchers.json b/bubble-server/src/main/resources/models/apps/user_block/hn/bubbleApp_userBlock_hn_matchers.json
index 1b7a3eae..9d9c0524 100644
--- a/bubble-server/src/main/resources/models/apps/user_block/hn/bubbleApp_userBlock_hn_matchers.json
+++ b/bubble-server/src/main/resources/models/apps/user_block/hn/bubbleApp_userBlock_hn_matchers.json
@@ -8,6 +8,13 @@
"fqdn": "news.ycombinator.com",
"urlRegex": "/item\\?id=\\d+",
"rule": "hn_user_blocker"
+ }, {
+ "name": "HNThreadsMatcher",
+ "site": "HackerNews",
+ "template": true,
+ "fqdn": "news.ycombinator.com",
+ "urlRegex": "/threads\\?id=\\w+",
+ "rule": "hn_user_blocker"
}]
}
}]