From 130effde114a40c6d42cc956f542df44b13965a6 Mon Sep 17 00:00:00 2001 From: casjay Date: Thu, 1 May 2025 14:05:35 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/usr/local/etc/docker/init.d/zz-nginx.sh --- rootfs/usr/local/etc/docker/init.d/zz-nginx.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rootfs/usr/local/etc/docker/init.d/zz-nginx.sh b/rootfs/usr/local/etc/docker/init.d/zz-nginx.sh index d02f2df..94e4a61 100755 --- a/rootfs/usr/local/etc/docker/init.d/zz-nginx.sh +++ b/rootfs/usr/local/etc/docker/init.d/zz-nginx.sh @@ -274,11 +274,11 @@ __update_conf_files() { fi echo "Created $onion_site.onion in /data/htdocs/onions/$onion_site" done - if [ -f "/config/nginx/nginx.conf" ]; then - sed -i "s|REPLACE_SERVER_NAME|$HOSTNAME|g" "/config/nginx/nginx.conf" - sed -i "s|REPLACE_SERVER_PORT|$SERVICE_PORT|g" "/config/nginx/nginx.conf" - sed -i "s|REPLACE_SERVER_WWW_DIR|$WWW_ROOT_DIR|g" "/config/nginx/nginx.conf" - fi + # if [ -f "/config/nginx/nginx.conf" ]; then + # sed -i "s|REPLACE_SERVER_NAME|$HOSTNAME|g" "/config/nginx/nginx.conf" + # sed -i "s|REPLACE_SERVER_PORT|$SERVICE_PORT|g" "/config/nginx/nginx.conf" + # sed -i "s|REPLACE_SERVER_WWW_DIR|$WWW_ROOT_DIR|g" "/config/nginx/nginx.conf" + # fi # allow custom functions if builtin type -t __update_conf_files_local | grep -q 'function'; then __update_conf_files_local; fi # exit function