1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-07-11 12:19:53 +02:00

re-enable nginx_xaccel; remove the rest of sed stuff from startup

This commit is contained in:
Andrew Dolgov 2021-02-01 10:30:31 +03:00
parent 5e2ad8d1da
commit 52b7a1260f
6 changed files with 12 additions and 8 deletions

View file

@ -67,10 +67,6 @@ fi
if [ ! -s $DST_DIR/config.php ]; then
cp /config.docker.php $DST_DIR/config.php
cat >> $DST_DIR/config.php << EOF
define('NGINX_XACCEL_PREFIX', '/tt-rss');
EOF
else
egrep -q 'SELF_URL_PATH.*getenv' $DST_DIR/config.php || \
echo -e "\nWARNING: you're using old-style config.php, overrides via .env will not work.\n" >/dev/stderr