Updated Pi hole (markdown)
parent
a29899dee4
commit
4d8d35366c
@ -21,13 +21,15 @@ This will add `https://raw.githubusercontent.com` and `https://gilbn.github.io`
|
|||||||
```nginx
|
```nginx
|
||||||
proxy_set_header Accept-Encoding "";
|
proxy_set_header Accept-Encoding "";
|
||||||
sub_filter
|
sub_filter
|
||||||
'<meta http-equiv="Content-Security-Policy" content="default-src \'self\' https://api.github.com; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; style-src \'self\' \'unsafe-inline\'">'
|
'<meta http-equiv="Content-Security-Policy" content="default-src \'none\'; base-uri \'none\'; child-src \'self\'; form-action \'self\'; frame-src \'self\'; font-src \'self\'; connect-src \'self\'; img-src \'self\'; manifest-src \'self\'; script-src \'self\' \'unsafe-inline\'; style-src \'self\' \'unsafe-inline\'">'
|
||||||
'<meta http-equiv="Content-Security-Policy" content="default-src \'self\' https://raw.githubusercontent.com https://api.github.com; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; style-src \'self\' https://gilbn.github.io \'unsafe-inline\'">';
|
'<meta http-equiv="Content-Security-Policy" content="default-src \'none\'; base-uri \'none\'; child-src \'self\'; form-action \'self\'; frame-src \'self\'; font-src \'self\'; connect-src \'self\'; img-src \'self\' https://raw.githubusercontent.com; manifest-src \'self\'; script-src \'self\' \'unsafe-inline\'; style-src \'self\' https://raw.githubusercontent.com https://gilbn.github.io \'unsafe-inline\'">';
|
||||||
sub_filter
|
sub_filter
|
||||||
'</head>'
|
'</head>'
|
||||||
'<link rel="stylesheet" type="text/css" href="https://gilbn.github.io/theme.park/CSS/themes/pihole/<THEME>.css">
|
'<link rel="stylesheet" type="text/css" href="https://gilbn.github.io/theme.park/CSS/themes/pihole/<THEME>.css">
|
||||||
</head>';
|
</head>';
|
||||||
sub_filter_once on;
|
sub_filter_once on;
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user