#!/usr/bin/env python3

import sys

sys.stdout.write('Content-Type: text/html\r\n\r\n')

print('''[
    {
        "action": {
            "type": "block"
        },
        "trigger": {
            "url-filter": ".*",
            "unless-domain": ["127.0.0.1"]
        }
    }
]''')