Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v6.26 #3162

Merged
merged 280 commits into from
Oct 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
280 commits
Select commit Hold shift + click to select a range
bd2f262
v6.26
MichaIng Jul 21, 2019
2675e5f
v6.26
MichaIng Jul 21, 2019
76728b1
v6.26
MichaIng Jul 21, 2019
7d5a2bc
v6.26 (#2988)
MichaIng Jul 21, 2019
b697c9c
v6.26
MichaIng Jul 21, 2019
5cec2e2
v6.26
MichaIng Jul 21, 2019
2587a52
v6.26
MichaIng Jul 21, 2019
48b35d1
v6.26 (#2998)
MichaIng Jul 21, 2019
2c0cd0f
v6.26
MichaIng Jul 21, 2019
cc65890
v6.26
MichaIng Jul 22, 2019
d7604ea
v6.26
MichaIng Jul 22, 2019
091aea2
v6.26
MichaIng Jul 23, 2019
c1fe41e
META | DietPi-Imager (#2982)
MichaIng Jul 23, 2019
88b0696
v6.26
MichaIng Jul 23, 2019
023fc39
v6.26 (#3000)
MichaIng Jul 23, 2019
798194d
v6.26
MichaIng Jul 23, 2019
7637b82
v6.26
MichaIng Jul 23, 2019
12e55c9
v6.26
MichaIng Jul 24, 2019
f9a2cdf
v6.26
MichaIng Jul 25, 2019
54cbd94
v6.26
MichaIng Jul 26, 2019
b9f2ad7
v6.26
MichaIng Jul 26, 2019
05b644d
v6.26
MichaIng Jul 26, 2019
94f8519
v6.26
MichaIng Jul 26, 2019
460db78
v6.26 (#3013)
meeki007 Jul 27, 2019
6d8d6bb
v6.26
MichaIng Jul 27, 2019
5a3b2c1
v6.26 (#3015)
MichaIng Jul 28, 2019
891b5c5
v6.26
MichaIng Jul 28, 2019
4dd4bf5
v6.26
MichaIng Jul 29, 2019
e404d47
v6.26
MichaIng Jul 29, 2019
19c54e3
v6.26
MichaIng Jul 30, 2019
d1f03f2
v6.26 (#3006)
MichaIng Jul 30, 2019
165c551
v6.26 (#3016)
MichaIng Jul 30, 2019
8d8d206
v6.26 (#3020)
MichaIng Jul 31, 2019
79ab1d9
v6.26
MichaIng Jul 31, 2019
73e9d7c
v6.26
MichaIng Aug 1, 2019
14fc3e8
v6.26
MichaIng Aug 1, 2019
9846e81
v6.26
MichaIng Aug 1, 2019
86a3367
v6.26
MichaIng Aug 1, 2019
e6965b4
v6.26
MichaIng Aug 1, 2019
62fe7ea
Add files via upload
sal666 Aug 2, 2019
784a46a
META | Add two images needed for the Clonezilla installer (#3026)
MichaIng Aug 2, 2019
a4e463d
v6.26
MichaIng Aug 3, 2019
56ae596
v6.26 (#3030)
MichaIng Aug 3, 2019
140464f
Pateron Legend addition
Fourdee Aug 4, 2019
78e91d5
Pateron Legend addition
Fourdee Aug 4, 2019
e060bde
v6.26
MichaIng Aug 4, 2019
5fb67fe
Disable ASUS GPU
Fourdee Aug 4, 2019
126032e
No GPU support for ASUS since Buster update.
Fourdee Aug 4, 2019
4758ff1
v6.26
MichaIng Aug 4, 2019
bde2a09
v6.26
MichaIng Aug 4, 2019
5d60929
v6.26
MichaIng Aug 4, 2019
3f118a3
v6.26 (#3035)
MichaIng Aug 6, 2019
aa5002d
v6.26 (#3041)
Aug 7, 2019
03b883c
v6.26
MichaIng Aug 8, 2019
2534866
v6.26 (#3040)
MichaIng Aug 10, 2019
7c30557
v6.26
MichaIng Aug 10, 2019
e0c240e
v6.26 (#3050)
MichaIng Aug 11, 2019
2443d5a
v6.26
MichaIng Aug 13, 2019
5bd537d
v6.26
MichaIng Aug 13, 2019
585f586
v6.26
MichaIng Aug 14, 2019
1383b0a
v6.26 (#3047)
svh1985 Aug 14, 2019
2209d66
v6.26
MichaIng Aug 14, 2019
8aaf74b
v6.26
MichaIng Aug 18, 2019
ea8be1f
v6.26
MichaIng Aug 18, 2019
b4cb351
v6.26
MichaIng Aug 19, 2019
52bb2a6
v6.26
MichaIng Aug 19, 2019
9193d78
v6.26 (#3054)
Aug 19, 2019
26681c3
v6.26
MichaIng Aug 19, 2019
90a4563
v6.26
MichaIng Aug 20, 2019
a4abf7e
v6.26
MichaIng Aug 21, 2019
08e4b71
v6.26
MichaIng Aug 22, 2019
0044438
v6.26
MichaIng Aug 24, 2019
d3551ff
v6.26
MichaIng Aug 24, 2019
2738685
v6.26
MichaIng Aug 25, 2019
31617e2
v6.26
MichaIng Aug 25, 2019
d6cb972
v6.26
MichaIng Aug 26, 2019
2fd7e23
v6.26
MichaIng Aug 26, 2019
db47a94
v6.26
MichaIng Aug 26, 2019
ae8b249
v6.22 (#3072)
MichaIng Aug 26, 2019
5aeea73
v6.26
MichaIng Aug 27, 2019
21de046
META | Contributors update
MichaIng Aug 28, 2019
30c8389
v6.26 (#3086)
MichaIng Sep 1, 2019
1d25c2d
v6.26
MichaIng Sep 2, 2019
b9dd4d7
v6.26 (#3091)
MichaIng Sep 2, 2019
3a53ef7
v6.26
MichaIng Sep 2, 2019
57916d1
v6.26
MichaIng Sep 2, 2019
a1a5fe9
v6.26 (#3095)
MichaIng Sep 5, 2019
67a4ca9
v6.26 (#3084)
svh1985 Sep 8, 2019
9e726b5
v6.26
MichaIng Sep 8, 2019
ec55d49
v6.26
MichaIng Sep 8, 2019
d302917
v6.26
MichaIng Sep 8, 2019
f22e531
v6.26
MichaIng Sep 8, 2019
5d0f793
v6.26
MichaIng Sep 8, 2019
c71ecb8
v6.26
MichaIng Sep 9, 2019
e1c5ed2
v6.26
MichaIng Sep 10, 2019
7031514
v6.26
MichaIng Sep 10, 2019
4886c55
v6.26
MichaIng Sep 11, 2019
80c710c
v6.26
MichaIng Sep 11, 2019
1bdf585
v6.26
MichaIng Sep 11, 2019
4b2ad6b
v6.26
MichaIng Sep 11, 2019
c21a727
v6.26
MichaIng Sep 11, 2019
dc7208d
v6.26
MichaIng Sep 11, 2019
d92df03
v6.26
MichaIng Sep 11, 2019
8e5c729
v6.26
MichaIng Sep 11, 2019
b129182
v6.26
MichaIng Sep 15, 2019
0359ada
v6.26
MichaIng Sep 15, 2019
bc3c8a8
v6.26
MichaIng Sep 15, 2019
b81bee4
v6.26
MichaIng Sep 15, 2019
6dd9b17
v6.26
MichaIng Sep 15, 2019
5db4a33
v6.26 (#3110)
MichaIng Sep 15, 2019
7719107
v6.26 (#3092)
MichaIng Sep 16, 2019
cdcb87a
v6.26
MichaIng Sep 16, 2019
4d6ccbe
v6.26
MichaIng Sep 16, 2019
f508646
v6.26
MichaIng Sep 16, 2019
77602c2
v6.26
MichaIng Sep 16, 2019
9488ce1
v6.26
MichaIng Sep 16, 2019
be075a3
v6.26
MichaIng Sep 16, 2019
639ab50
v6.26 (#3087)
MichaIng Sep 16, 2019
e8ca4ad
v6.26
MichaIng Sep 16, 2019
253e024
META | DietPi-Survey_report: Check if $BENCH_VERSION is integer befor…
MichaIng Sep 17, 2019
02a3e5b
v6.26
MichaIng Sep 17, 2019
452254d
v6.26
MichaIng Sep 17, 2019
9456c21
v6.26
MichaIng Sep 17, 2019
07e1b84
v6.26 (#3114)
MichaIng Sep 17, 2019
eafdd3b
v6.26
MichaIng Sep 18, 2019
e62ba9f
v6.26
MichaIng Sep 21, 2019
eeb81e0
v6.26
MichaIng Sep 21, 2019
5789594
v6.26
MichaIng Sep 21, 2019
ffd426b
v6.26
MichaIng Sep 21, 2019
7591d81
v6.26
MichaIng Sep 21, 2019
716e885
v6.26 (#3119)
sal666 Sep 23, 2019
213c78d
v6.26 (#3125)
sal666 Sep 23, 2019
1df744c
v6.26
MichaIng Sep 23, 2019
9b23d10
v6.26
MichaIng Sep 24, 2019
cf11aac
v6.26
MichaIng Sep 24, 2019
464990f
v6.26
MichaIng Sep 24, 2019
3853e12
v6.26
MichaIng Sep 25, 2019
a968231
v6.26
MichaIng Sep 25, 2019
aff65ea
v6.26
MichaIng Sep 25, 2019
9614574
v6.26
MichaIng Sep 26, 2019
7e98440
v6.26
MichaIng Sep 26, 2019
1e52d13
v6.26
MichaIng Sep 26, 2019
a3c8cf0
v6.26
MichaIng Sep 26, 2019
f563d9c
v6.26
MichaIng Sep 26, 2019
3fd544a
v6.26
MichaIng Sep 29, 2019
6f14fc0
v6.26
MichaIng Sep 29, 2019
b1e67f4
v6.26
MichaIng Sep 29, 2019
adc8040
v6.26
MichaIng Sep 29, 2019
1644b01
v6.26
MichaIng Sep 29, 2019
c284417
v6.26
MichaIng Sep 29, 2019
a259f53
v6.26
MichaIng Sep 29, 2019
b859e36
v6.26
MichaIng Sep 29, 2019
86685fa
v6.26
MichaIng Sep 29, 2019
634e951
v6.26
MichaIng Sep 29, 2019
37a033c
v6.26
MichaIng Sep 29, 2019
017652a
v6.26
MichaIng Sep 29, 2019
6c5c5a7
v6.26 (#3112)
MichaIng Sep 29, 2019
afd4e26
v6.26
MichaIng Sep 30, 2019
ec4bc18
v6.26
MichaIng Sep 30, 2019
0e22e56
v6.26
MichaIng Sep 30, 2019
adf6e3d
v6.26
MichaIng Oct 1, 2019
ac64a97
v6.26
MichaIng Oct 1, 2019
b7d3c22
v6.26
MichaIng Oct 1, 2019
81e4f57
v6.26
MichaIng Oct 1, 2019
f51460d
v6.26
MichaIng Oct 2, 2019
657e03f
v6.26
MichaIng Oct 3, 2019
c870053
v6.26
MichaIng Oct 3, 2019
535f14d
v6.26 (#3138)
msongz Oct 3, 2019
4d1402f
v6.26
MichaIng Oct 3, 2019
e6713f8
v6.26
MichaIng Oct 5, 2019
8867da3
v6.26
MichaIng Oct 5, 2019
71fa09e
v6.26
MichaIng Oct 5, 2019
6a5ae0f
v6.26
MichaIng Oct 5, 2019
3797696
v6.26
MichaIng Oct 5, 2019
182da8b
META | README.md: Add Clonezilla to Additional Software list (#3142)
sal666 Oct 5, 2019
4c79d30
v6.26
MichaIng Oct 6, 2019
cde52e6
v6.26
MichaIng Oct 6, 2019
391b3d8
v6.26 (#3139)
msongz Oct 6, 2019
1a5d29d
v6.26
MichaIng Oct 6, 2019
7573a51
v6.26
MichaIng Oct 6, 2019
6bd2f69
v6.26
MichaIng Oct 6, 2019
1b95973
v6.26
MichaIng Oct 7, 2019
5845525
v6.26
MichaIng Oct 7, 2019
44ce25b
v6.26
MichaIng Oct 7, 2019
ec5979c
v6.26
MichaIng Oct 7, 2019
c22170d
v6.26
MichaIng Oct 7, 2019
1fd841c
v6.26
MichaIng Oct 7, 2019
33f79c1
v6.26 (#3141)
MichaIng Oct 7, 2019
ac3de5e
v6.26
MichaIng Oct 7, 2019
5b39e16
v6.26
MichaIng Oct 7, 2019
f2ef6bd
v6.26
MichaIng Oct 8, 2019
59a0897
v6.26
MichaIng Oct 8, 2019
93e15ff
v6.26
MichaIng Oct 8, 2019
966075d
v6.26
MichaIng Oct 8, 2019
94c4af3
v6.26
MichaIng Oct 8, 2019
25e6861
v6.26
MichaIng Oct 8, 2019
9c0f5bf
v6.26
MichaIng Oct 8, 2019
18a041a
v6.26
MichaIng Oct 8, 2019
a7c8eb6
v6.26
MichaIng Oct 8, 2019
2a959cc
v6.26
MichaIng Oct 8, 2019
681d11b
v6.26
MichaIng Oct 8, 2019
ef7cbe1
v6.26
MichaIng Oct 8, 2019
6ae21c4
v6.26
MichaIng Oct 9, 2019
fbb2402
v6.26
MichaIng Oct 9, 2019
6ece148
v6.26
MichaIng Oct 9, 2019
2a0b641
v6.26
MichaIng Oct 10, 2019
2cb21c1
v6.26
MichaIng Oct 10, 2019
16da869
v6.26
MichaIng Oct 10, 2019
6d64947
v6.26
MichaIng Oct 10, 2019
1082b18
v6.26
MichaIng Oct 10, 2019
0aa36e5
v6.26
MichaIng Oct 10, 2019
5f2df31
v6.26
MichaIng Oct 10, 2019
1164feb
v6.26
MichaIng Oct 10, 2019
5925618
v6.26
MichaIng Oct 10, 2019
30938b4
v6.26
MichaIng Oct 11, 2019
4edd095
v6.26
MichaIng Oct 11, 2019
9885b5c
v6.26
MichaIng Oct 11, 2019
23a8564
v6.26 (#3154)
minhphuc429 Oct 12, 2019
c20a73a
v6.26
MichaIng Oct 12, 2019
d4c7539
META | DietPi-Imager | Only shrink partition if target size is actual…
sal666 Oct 12, 2019
72b308b
META | DietPi-Imager
sal666 Oct 12, 2019
6260ba0
v6.26
MichaIng Oct 12, 2019
dab6c0c
v6.26
MichaIng Oct 12, 2019
f291d2c
v6.26
MichaIng Oct 12, 2019
d5c1630
v6.26
MichaIng Oct 12, 2019
7e9bfab
v6.26
MichaIng Oct 12, 2019
9055b34
v6.26
MichaIng Oct 12, 2019
552a0b1
v6.26
MichaIng Oct 12, 2019
95f9fc5
v6.26
MichaIng Oct 12, 2019
bc8bc3f
v6.26
MichaIng Oct 12, 2019
c05b823
v6.26
MichaIng Oct 12, 2019
1932956
v6.26 (#3145)
MichaIng Oct 12, 2019
aa9c383
META | README.md: Fix, add and reorder additional software list
MichaIng Oct 13, 2019
3f9e14b
v6.26
MichaIng Oct 13, 2019
a103074
v6.26
MichaIng Oct 13, 2019
b5f75f6
v6.26
MichaIng Oct 13, 2019
79b15c9
v6.26
MichaIng Oct 13, 2019
c4e1bd4
v6.26
MichaIng Oct 13, 2019
95fc1db
v6.26
MichaIng Oct 14, 2019
108e51a
v6.26
MichaIng Oct 14, 2019
897b9cb
v6.26
MichaIng Oct 14, 2019
89670eb
v6.26
MichaIng Oct 14, 2019
f2799c7
v6.26
MichaIng Oct 14, 2019
49a4a36
v6.26
MichaIng Oct 14, 2019
bfa17bf
v6.26
MichaIng Oct 14, 2019
5221ab1
v6.26 (#3155)
MichaIng Oct 14, 2019
27d1b6d
v6.26
MichaIng Oct 15, 2019
1f140fb
v6.26 (#3161)
MichaIng Oct 15, 2019
9e4cba5
v6.26
MichaIng Oct 15, 2019
1f92fe9
v6.26 (#3163)
MichaIng Oct 15, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .conf/desktop/lxde/lxde-rc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,6 @@
# when multiple rules match a window, they will all be applied, in the
# order that they appear in this list


# each element can be left out or set to 'default' to specify to not
# change that attribute of the window

Expand Down
9 changes: 5 additions & 4 deletions .conf/dps_114/lighttpd.nextcloud.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@ $HTTP["url"] =~ "^/nextcloud($|/)" {
# - Directory listing
dir-listing.activate = "disable"
# - Cache control and security headers for static resources
$HTTP["url"] =~ "^/nextcloud/.*\.(css|js|woff2?|svg|gif)$" {
$HTTP["url"] =~ "^/nextcloud/.+[^/]\.(css|js|woff2?|svg|gif|map)$" {
setenv.add-response-header += (
"Cache-Control" => "public, max-age=15778463",
"Referrer-Policy" => "no-referrer",
"X-Content-Type-Options" => "nosniff",
"X-XSS-Protection" => "1; mode=block",
"X-Robots-Tag" => "none",
"X-Download-Options" => "noopen",
"X-Frame-Options" => "SAMEORIGIN",
"X-Permitted-Cross-Domain-Policies" => "none",
"Referrer-Policy" => "no-referrer",
"X-Robots-Tag" => "none",
"X-XSS-Protection" => "1; mode=block",
)
}

Expand Down
37 changes: 18 additions & 19 deletions .conf/dps_114/nginx.nextcloud.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ location ~ ^\/(?:ocm-provider|ocs-provider).* {
location ^~ /nextcloud {

# Add headers to serve security related headers
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains;";
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
add_header Referrer-Policy "no-referrer" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Download-Options "noopen" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Permitted-Cross-Domain-Policies "none" always;
add_header X-Robots-Tag "none" always;
add_header X-XSS-Protection "1; mode=block" always;

# Remove X-Powered-By, which is an information leak
fastcgi_hide_header X-Powered-By;
Expand Down Expand Up @@ -46,7 +46,7 @@ location ^~ /nextcloud {
deny all;
}

location ~ ^\/nextcloud\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+|ocm-provider\/.+)\.php(?:$|\/) {
location ~ ^\/nextcloud\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+)\.php(?:$|\/) {
fastcgi_split_path_info ^(.+?\.php)(\/.*|)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
Expand All @@ -58,29 +58,28 @@ location ^~ /nextcloud {
fastcgi_param front_controller_active true;
fastcgi_pass php;
fastcgi_intercept_errors on;
# Disable on Jessie, because Jessie Nginx does not support this directive
#fastcgi_request_buffering off;
fastcgi_request_buffering off;
}

location ~ ^\/nextcloud\/(?:updater|ocs-provider|ocm-provider)(?:$|\/) {
location ~ ^\/nextcloud\/(?:updater|oc[ms]-provider)(?:$|\/) {
try_files $uri/ =404;
index index.php;
}

# Adding the cache control header for js and css files
# Make sure it is BELOW the PHP block
location ~ ^\/nextcloud\/.+[^\/]\.(?:css|js|woff2?|svg|gif)$ {
location ~ ^\/nextcloud\/.+[^\/]\.(?:css|js|woff2?|svg|gif|map)$ {
try_files $uri /nextcloud/index.php$request_uri;
add_header Cache-Control "public, max-age=15778463";
# Add headers to serve security related headers (It is intended
# to have those duplicated to the ones above)
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains;";
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
add_header Referrer-Policy "no-referrer" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Download-Options "noopen" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Permitted-Cross-Domain-Policies "none" always;
add_header X-Robots-Tag "none" always;
add_header X-XSS-Protection "1; mode=block" always;

# Optional: Don't log access to assets
access_log off;
Expand Down
2 changes: 1 addition & 1 deletion .conf/dps_47/nginx.owncloud.conf
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ location ^~ /owncloud {
fastcgi_read_timeout 180; # increase default timeout e.g. for long running carddav/ caldav syncs with 1000+ entries
fastcgi_pass php;
fastcgi_intercept_errors on;
#fastcgi_request_buffering off; #Available since NGINX 1.7.11
fastcgi_request_buffering off;
}

location ~ ^/owncloud/(?:updater|ocs-provider)(?:$|/) {
Expand Down
27 changes: 15 additions & 12 deletions .conf/dps_6/xorg_asustb.conf
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
Section "Device"
# DietPi X.org config
# All credits go to Rockchip: https://github.com/rockchip-linux/rk-rootfs-build/blob/master/overlay/etc/X11/xorg.conf.d/20-modesetting.conf

Section "Device"
Identifier "Rockchip Graphics"
Driver "modesetting"
Option "AccelMethod" "glamor"
Option "AccelMethod" "exa"
# Option "AccelMethod" "glamor"
Option "DRI" "2"

Option "FlipFB" "always"
EndSection

Section "Screen"

Identifier "Default Screen"
SubSection "Display"

Depth 24
Modes "1920x1080" "1280x1024" "1024x768" "800x600"

EndSubSection
Section "Screen"
Identifier "Default Screen"
Device "Rockchip Graphics"
Monitor "Default Monitor"
EndSection

### Valid values for rotation are "normal", "left", "right"
Section "Monitor"
Identifier "Default Monitor"
Option "Rotate" "normal"
EndSection
28 changes: 0 additions & 28 deletions .conf/dps_6/xorg_c1.conf

This file was deleted.

12 changes: 6 additions & 6 deletions .conf/dps_6/xorg_c2.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Provided by @Meveric's setup-odroid: http://fuzon.co.uk/meveric/pool/main/s/setup-odroid/
Section "Device"
Identifier "FBTURBO"
Driver "fbturbo"
Option "fbdev" "/dev/fb0"

Identifier "FBTurbo"
Driver "fbturbo"
Option "fbdev" "/dev/fb0"
Option "SwapbuffersWait" "true"
#Option "Rotate" "CCW"

Option "SwapbuffersWait" "true"
Option "alpha_swap" "true"
EndSection
19 changes: 17 additions & 2 deletions .conf/dps_6/xorg_rk3399.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
Section "Device"
# DietPi X.org config
# All credits go to Rockchip: https://github.com/rockchip-linux/rk-rootfs-build/blob/master/overlay/etc/X11/xorg.conf.d/20-modesetting.conf

Section "Device"
Identifier "Rockchip Graphics"
Driver "modesetting"
Option "AccelMethod" "glamor"
Option "AccelMethod" "exa"
# Option "AccelMethod" "glamor"
Option "DRI" "2"
Option "FlipFB" "always"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Rockchip Graphics"
Monitor "Default Monitor"
EndSection

### Valid values for rotation are "normal", "left", "right"
Section "Monitor"
Identifier "Default Monitor"
Option "Rotate" "normal"
EndSection
13 changes: 5 additions & 8 deletions .conf/dps_85/nginx.default
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,22 @@
server {

listen 80 default_server;
listen [::]:80 default_server;

root /var/www;
index index.php index.html index.htm;
index index.php index.html index.htm index.nginx-debian.html;

server_name "$hostname";

include /etc/nginx/sites-dietpi/*.conf;

location / {
try_files $uri $uri/ =404;
}

location ~ \.php(?:$|/) {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
include snippets/fastcgi-php.conf;
fastcgi_pass php;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}

include /etc/nginx/sites-dietpi/*.conf;

}
4 changes: 4 additions & 0 deletions .conf/dps_93/apache.block_public_admin.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Block public access to admin panel
<Directory ~ /var/www(/html)?/admin>
Require ip 127 192.168 10 172.16.0.0/12
</Directory>
20 changes: 20 additions & 0 deletions .conf/dps_93/apache.pihole.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# If the URL starts with /admin, it is the Web interface
<Directory ~ /var/www(/html)?/admin>
# Create a response header for debugging using curl -I
Header set X-Pi-hole "The Pi-hole Web interface is working!"
Header set X-Frame-Options "deny"

# Block . files from being served, such as .git, .github, .gitignore
<Files ~ "^\.">
Require all denied
</Files>

</Directory>

# Block public access to blocking page
<Directory ~ /var/www(/html)?/pihole>
Require ip 127 192.168 10 172.16.0.0/12
</Directory>

# Enable blocking page via 404 handler
#ErrorDocument 404 /html/pihole/index.php
6 changes: 6 additions & 0 deletions .conf/dps_93/lighttpd.block_public_admin.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Block non-LAN access to Pi-hole admin panel
$HTTP["url"] =~ "^(/html)?/admin(/|$)" {
$HTTP["remoteip"] !~ "^1(27|92\.168|0|72\.(1[6-9]|2[0-9]|3[0-1]))\." {
url.access-deny = ("")
}
}
32 changes: 32 additions & 0 deletions .conf/dps_93/lighttpd.pihole.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Based on: https://github.com/pi-hole/pi-hole/blob/master/advanced/lighttpd.conf.debian

# If the URL starts with /admin, it is the Web interface
$HTTP["url"] =~ "^(/html)?/admin/" {
# Create a response header for debugging using curl -I
setenv.add-response-header = (
"X-Pi-hole" => "The Pi-hole Web interface is working!",
"X-Frame-Options" => "DENY"
)

$HTTP["url"] =~ "\.ttf$" {
# Allow Block Page access to local fonts
setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
}
}

# Block . files from being served, such as .git, .github, .gitignore
$HTTP["url"] =~ "^(/html)?/admin/\." {
url.access-deny = ("")
}

# If it's a request to Pi-hole blocking page...
$HTTP["url"] =~ "^(/html)?/pihole/" {
# ... and the request isn't local
$HTTP["remoteip"] !~ "^1(27|92\.168|0|72\.(1[6-9]|2[0-9]|3[0-1]))\." {
# block!
url.access-deny = ("")
}
}

# Enable blocking page via 404 handler
#server.error-handler-404 = "/html/pihole/index.php"
9 changes: 9 additions & 0 deletions .conf/dps_93/nginx.block_public_admin.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Block public access to Pi-hole admin panel
# Location: /etc/nginx/sites-dietpi/dietpi-pihole-block_public_admin.{on,off}
# - Enable with file ending .on
# - Disable with file ending .off
allow 127.0.0.0/8;
allow 192.168.0.0/16;
allow 10.0.0.0/8;
allow 172.16.0.0/12;
deny all;
39 changes: 39 additions & 0 deletions .conf/dps_93/nginx.pihole.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Admin panel
location ~ ^(?:/html|)/admin(?:$|/) {
# Block public access to admin page, if enabled
# - To enable: cd /etc/nginx/sites-dietpi; mv dietpi-pihole-block_public_admin.off dietpi-pihole-block_public_admin.on
# - To disable: cd /etc/nginx/sites-dietpi; mv dietpi-pihole-block_public_admin.on dietpi-pihole-block_public_admin.off
include sites-dietpi/dietpi-pihole-block_public_admin.*on;
# Block . files from being served, such as .git, .github, .gitignore
location ~ ^(?:/html|)/admin/\. {
deny all;
}
# Create a response header for debugging using curl -I
add_header X-Pi-hole "The Pi-hole Web interface is working!";
add_header X-Frame-Options "DENY";
# Standard PHP handler block
try_files $uri $uri/ =404;
location ~ ^(?:/html|)/admin/.+\.php(?:$|/) {
fastcgi_pass php;
include snippets/fastcgi-php.conf;
}
}

# Blocking page
location ~ ^(?:/html|)/pihole(?:$|/) {
# Block public access to blocking page by default
allow 127.0.0.0/8;
allow 192.168.0.0/16;
allow 10.0.0.0/8;
allow 172.16.0.0/12;
deny all;
# Standard PHP handler block
try_files $uri $uri/ =404;
location ~ ^(?:/html|)/pihole/.+\.php(?:$|/) {
fastcgi_pass php;
include snippets/fastcgi-php.conf;
}
}

# Enable blocking page via 404 handler
#error_page 404 /html/pihole/index.php;
1 change: 0 additions & 1 deletion .conf/dps_94/conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# File Location
# /etc/proftpd/proftpd.conf


# Includes DSO modules
Include /etc/proftpd/modules.conf

Expand Down
2 changes: 0 additions & 2 deletions .conf/dps_98/haproxy.service
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ EXTRAOPTS=

. /lib/lsb/init-functions


haproxy_start()
{
start-stop-daemon --start --pidfile "$PIDFILE" \
Expand Down Expand Up @@ -64,7 +63,6 @@ haproxy_status()
return 0
}


case "$1" in
start)
log_daemon_msg "Starting haproxy" "haproxy"
Expand Down
Loading