diff --git a/.conf/dps_114/apache.nextcloud.conf b/.conf/dps_114/apache.nextcloud.conf
index 55994d9fef..6d6e8e33fe 100644
--- a/.conf/dps_114/apache.nextcloud.conf
+++ b/.conf/dps_114/apache.nextcloud.conf
@@ -1,5 +1,9 @@
# Based on: https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#apache-web-server-configuration
+# Redirect OCM/OCS provider requests to Nextcloud endpoint:
+Redirect permanent /ocm-provider /nextcloud/ocm-provider
+Redirect permanent /ocs-provider /nextcloud/ocs-provider
+
Options +FollowSymlinks
AllowOverride All
diff --git a/.conf/dps_114/lighttpd.nextcloud.conf b/.conf/dps_114/lighttpd.nextcloud.conf
index f61d733670..489d1862a5 100644
--- a/.conf/dps_114/lighttpd.nextcloud.conf
+++ b/.conf/dps_114/lighttpd.nextcloud.conf
@@ -2,6 +2,12 @@
# - Apache: https://github.com/nextcloud/server/blob/master/.htaccess
# - Nginx: https://docs.nextcloud.com/server/stable/admin_manual/installation/nginx.html
+# Redirect OCM/OCS provider requests to Nextcloud endpoint:
+url.redirect += (
+ "^/ocm-provider" => "/nextcloud/ocm-provider",
+ "^/ocs-provider" => "/nextcloud/ocs-provider"
+)
+
$HTTP["url"] =~ "^/nextcloud($|/)" {
# Hardening
diff --git a/.conf/dps_114/nginx.nextcloud.conf b/.conf/dps_114/nginx.nextcloud.conf
index fefb601b29..057e9f4742 100644
--- a/.conf/dps_114/nginx.nextcloud.conf
+++ b/.conf/dps_114/nginx.nextcloud.conf
@@ -1,4 +1,9 @@
-# Based on: https://docs.nextcloud.com/server/stable/admin_manual/installation/nginx.html
+# Based on: https://docs.nextcloud.com/server/stable/admin_manual/installation/nginx.html#nextcloud-in-a-subdir-of-nginx
+
+# Redirect OCM/OCS provider requests to Nextcloud endpoint:
+location ~ ^\/(?:ocm-provider|ocs-provider).* {
+ rewrite ^ /nextcloud$request_uri;
+}
location ^~ /nextcloud {
@@ -34,15 +39,15 @@ location ^~ /nextcloud {
rewrite ^ /nextcloud/index.php$request_uri;
}
- location ~ ^/nextcloud/(?:build|tests|config|lib|3rdparty|templates|data)/ {
+ location ~ ^\/nextcloud\/(?:build|tests|config|lib|3rdparty|templates|data)\/ {
deny all;
}
- location ~ ^/nextcloud/(?:\.|autotest|occ|issue|indie|db_|console) {
+ location ~ ^\/nextcloud\/(?:\.|autotest|occ|issue|indie|db_|console) {
deny all;
}
- location ~ ^/nextcloud/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+)\.php(?:$|/) {
- fastcgi_split_path_info ^(.+?\.php)(/.*)$;
+ location ~ ^\/nextcloud\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+|ocm-provider\/.+)\.php(?:$|\/) {
+ fastcgi_split_path_info ^(.+?\.php)(\/.*|)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
@@ -59,14 +64,14 @@ location ^~ /nextcloud {
fastcgi_param PHP_ADMIN_VALUE "opcache.memory_consumption=128";
}
- location ~ ^/nextcloud/(?:updater|ocs-provider)(?:$|/) {
+ location ~ ^\/nextcloud\/(?:updater|ocs-provider|ocm-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 ~ \.(?:css|js|woff|svg|gif)$ {
+ location ~ ^\/nextcloud\/.+[^\/]\.(?:css|js|woff2?|svg|gif)$ {
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
@@ -83,7 +88,7 @@ location ^~ /nextcloud {
access_log off;
}
- location ~ \.(?:png|html|ttf|ico|jpg|jpeg)$ {
+ location ~ ^\/nextcloud\/.+[^\/]\.(?:png|html|ttf|ico|jpg|jpeg)$ {
try_files $uri /nextcloud/index.php$request_uri;
# Optional: Don't log access to other assets
access_log off;
diff --git a/.conf/dps_85/nginx.default b/.conf/dps_85/nginx.default
index f422382e51..eb57a2b192 100644
--- a/.conf/dps_85/nginx.default
+++ b/.conf/dps_85/nginx.default
@@ -14,12 +14,6 @@ server {
try_files $uri $uri/ =404;
}
- error_page 404 /404.html;
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root /var/www;
- }
-
location ~ \.php(?:$|/) {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
diff --git a/.meta/dietpi-survey_report b/.meta/dietpi-survey_report
index 8975a9a773..52a1862581 100644
--- a/.meta/dietpi-survey_report
+++ b/.meta/dietpi-survey_report
@@ -266,9 +266,9 @@
aSOFTWARE_NAME[106]='Lidarr'
aSOFTWARE_NAME[107]='rTorrent'
aSOFTWARE_NAME[108]='AmiBerry'
- aSOFTWARE_NAME[109]='NFS'
+ aSOFTWARE_NAME[109]='NFS Server'
aSOFTWARE_NAME[110]='NFS Client'
- aSOFTWARE_NAME[111]='UrBackup server'
+ aSOFTWARE_NAME[111]='UrBackup Server'
aSOFTWARE_NAME[112]='DXX-Rebirth'
aSOFTWARE_NAME[113]='Chromium'
aSOFTWARE_NAME[114]='Nextcloud'
@@ -320,7 +320,7 @@
aSOFTWARE_NAME[160]='Allo_update'
aSOFTWARE_NAME[161]='FuguHub'
aSOFTWARE_NAME[162]='Docker'
- aSOFTWARE_NAME[163]='Gmediarender'
+ aSOFTWARE_NAME[163]='GMediaRender'
aSOFTWARE_NAME[164]='Nukkit'
aSOFTWARE_NAME[165]='Gitea'
aSOFTWARE_NAME[166]='PI-SPC'
@@ -406,7 +406,7 @@
fi
- # v6.10+: files can be sourced:
+ # Source survey files
if grep -q '^#!/bin/bash' $file; then
. $file
@@ -474,8 +474,6 @@
fi
- continue
-
fi
done
@@ -765,7 +763,7 @@
DietPi versions:
- $(for i in "${!aDIETPI_VERSION[@]}"; do echo "DietPi v${i//6.9/6.09} | ${aDIETPI_VERSION[$i]} |
"; done | sort -nrk 1.17,1.20 -t ' ')
+ $(for i in "${!aDIETPI_VERSION[@]}"; do echo "DietPi v$i | ${aDIETPI_VERSION[$i]} |
"; done | sort -nrk 1.17,1.20 -t ' ')
Git branches:
@@ -800,7 +798,7 @@
DietPi-Automation:
- Used by | ${aAUTO_SETUP_AUTOMATED[1]} of $((${aAUTO_SETUP_AUTOMATED[1]} + ${aAUTO_SETUP_AUTOMATED[0]})) users |
+ Used by | ${aAUTO_SETUP_AUTOMATED[1]} of $((${aAUTO_SETUP_AUTOMATED[1]} + ${aAUTO_SETUP_AUTOMATED[0]})) installs |
Network interfaces:
@@ -813,172 +811,73 @@
$(for i in "${!aSOFTWARE[@]}"; do echo "$i | ${aSOFTWARE[$i]} |
"; done | sort -nrk 2 -t ' ')
-
DietPi-Benchmarks | CPU:
-
-
-
-
- |
-
- CPU time (seconds, lower is faster):
- |
-
- CPU idle temp ('c):
- |
-
- CPU full load temp ('c):
- |
-
-
-
+ |
+ CPU time (seconds, lower is faster): |
+ CPU idle temp ('c): |
+ CPU full load temp ('c): |
+
-
- Device:
- |
-
- Total benchmarks:
- |
-
- Average:
- |
-
- Fastest:
- |
-
- Slowest:
- |
-
- Average:
- |
-
- Lowest:
- |
-
- Highest:
- |
-
- Average:
- |
-
- Lowest:
- |
-
- Highest:
- |
-
+ Device: |
+ Total benchmarks: |
+ Average: |
+ Fastest: |
+ Slowest: |
+ Average: |
+ Lowest: |
+ Highest: |
+ Average: |
+ Lowest: |
+ Highest: |
$(for i in "${!aBENCH_COMMON_INDEX[@]}"; do echo "${aHW_NAME[$i]:=$i} | ${aBENCH_COMMON_INDEX[$i]} | ${aBENCH_RESULT_CPU_AVG[$i]} | ${aBENCH_RESULT_CPU_MIN[$i]} | ${aBENCH_RESULT_CPU_MAX[$i]} | ${aBENCH_RESULT_CPU_TEMP_START_AVG[$i]} | ${aBENCH_RESULT_CPU_TEMP_START_MIN[$i]} | ${aBENCH_RESULT_CPU_TEMP_START_MAX[$i]} | ${aBENCH_RESULT_CPU_TEMP_END_AVG[$i]} | ${aBENCH_RESULT_CPU_TEMP_END_MIN[$i]} | ${aBENCH_RESULT_CPU_TEMP_END_MAX[$i]} |
"; done | sort -nk 1 -t ' ')
DietPi-Benchmarks | IO (Filesystem & RAM):
-
-
-
-
- |
-
- RootFS write (MB/s):
- |
-
- RootFS read (MB/s):
- |
-
- RAM write (MB/s):
- |
-
- RAM read (MB/s):
- |
-
-
-
+ |
+ RootFS write (MB/s): |
+ RootFS read (MB/s): |
+ RAM write (MB/s): |
+ RAM read (MB/s): |
+
-
- Device:
- |
-
- Total benchmarks:
- |
-
- Average:
- |
-
- Fastest:
- |
-
- Slowest:
- |
-
- Average:
- |
-
- Fastest:
- |
-
- Slowest:
- |
-
- Average:
- |
-
- Fastest:
- |
-
- Slowest:
- |
-
- Average:
- |
-
- Fastest:
- |
-
- Slowest:
- |
-
+ Device: |
+ Total benchmarks: |
+ Average: |
+ Fastest: |
+ Slowest: |
+ Average: |
+ Fastest: |
+ Slowest: |
+ Average: |
+ Fastest: |
+ Slowest: |
+ Average: |
+ Fastest: |
+ Slowest: |
$(for i in "${!aBENCH_COMMON_INDEX[@]}"; do echo "${aHW_NAME[$i]:=$i} | ${aBENCH_COMMON_INDEX[$i]} | ${aBENCH_RESULT_ROOTFS_WRITE_AVG[$i]} | ${aBENCH_RESULT_ROOTFS_WRITE_MAX[$i]} | ${aBENCH_RESULT_ROOTFS_WRITE_MIN[$i]} | ${aBENCH_RESULT_ROOTFS_READ_AVG[$i]} | ${aBENCH_RESULT_ROOTFS_READ_MAX[$i]} | ${aBENCH_RESULT_ROOTFS_READ_MIN[$i]} | ${aBENCH_RESULT_RAM_WRITE_AVG[$i]} | ${aBENCH_RESULT_RAM_WRITE_MAX[$i]} | ${aBENCH_RESULT_RAM_WRITE_MIN[$i]} | ${aBENCH_RESULT_RAM_READ_AVG[$i]} | ${aBENCH_RESULT_RAM_READ_MAX[$i]} | ${aBENCH_RESULT_RAM_READ_MIN[$i]} |
"; done | sort -nk 1 -t ' ')
- DietPi-Benchmarks | Network LAN throughput:
+ DietPi-Benchmarks | Network LAN throughput:
-
-
-
-
- |
-
- Transfer rate (MB/s):
- |
-
-
-
+ |
+ Transfer rate (MB/s): |
+
-
- Device:
- |
-
- Total benchmarks:
- |
-
- Average:
- |
-
- Fastest:
- |
-
- Slowest:
- |
-
+ Device: |
+ Total benchmarks: |
+ Average: |
+ Fastest: |
+ Slowest: |
$(for i in "${!aBENCH_LAN_INDEX[@]}"; do echo "${aHW_NAME[$i]:=$i} | ${aBENCH_LAN_INDEX[$i]} | ${aBENCH_RESULT_NET_LAN_SPEED_AVG[$i]} | ${aBENCH_RESULT_NET_LAN_SPEED_MAX[$i]} | ${aBENCH_RESULT_NET_LAN_SPEED_MIN[$i]} |
"; done | sort -nk 1 -t ' ')
-