prefect: Add tokyo-night theme to adguard

This commit is contained in:
The Hedgehog 2022-07-24 10:43:38 -04:00
parent d920969237
commit d10959e951
No known key found for this signature in database

View file

@ -14,8 +14,9 @@
vendorSha256 = "sha256-bIXe1xugwCJG2xzDDASBeOLIFLnkqmMSrAlWeyxo9QU=";
};
email = "hedgehog@mrhedgehog.xyz";
# globalConfig = ''
# '';
globalConfig = ''
order filter after encode
'';
virtualHosts = {
"reddit.thehedgehog.me" = {
extraConfig = ''
@ -24,7 +25,16 @@
};
"adguard.thehedgehog.me" = {
extraConfig = ''
reverse_proxy http://marvin:2500
reverse_proxy http://marvin:2500 {
header_up -Accept-Encoding
header_down -x-webkit-csp
header_down -content-security-policy
}
filter {
content_type text/html.*
search_pattern </head>
replacement "<link rel='stylesheet' type='text/css' href='https://thehedgehog0.github.io/theme.park/css/base/adguard/tokyo-night.css'></head>"
}
'';
};
"rss.thehedgehog.me" = {