We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 379ec62 commit 641609dCopy full SHA for 641609d
1 file changed
root/etc/s6-overlay/s6-rc.d/init-nginx/run
@@ -35,7 +35,7 @@ sed -i "s|SUBFOLDER|$SFOLDER|g" ${NGINX_CONFIG}
35
sed -i "s|REPLACE_DOWNLOADS_PATH|$FILE_MANAGER_PATH|g" ${NGINX_CONFIG}
36
s6-setuidgid abc mkdir -p ${FILE_MANAGER_PATH}
37
if [[ $SELKIES_FILE_TRANSFERS != *"download"* ]] || [[ ${HARDEN_DESKTOP,,} == "true" ]]; then
38
- sed -i '/files {/,/}/d' ${NGINX_CONFIG}
+ sed -i '/files {/,/^ }/d' ${NGINX_CONFIG}
39
fi
40
if [ ! -z ${DISABLE_IPV6+x} ]; then
41
sed -i '/listen \[::\]/d' ${NGINX_CONFIG}
0 commit comments