prefect: Add tokyo-night theme to adguard
This commit is contained in:
parent
d920969237
commit
d10959e951
1 changed files with 13 additions and 3 deletions
|
@ -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" = {
|
||||
|
|
Loading…
Reference in a new issue