1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-06-09 13:49:52 +02:00

enable nginx_xaccel, etc

This commit is contained in:
Andrew Dolgov 2019-11-15 17:54:33 +03:00
parent cf2406f6a6
commit aab001fbc6
3 changed files with 11 additions and 2 deletions

View file

@ -42,6 +42,11 @@ if [ ! -s $DST_DIR/config.php ]; then
-e "s/define('PLUGINS'.*/define('PLUGINS', 'auth_internal, note, nginx_xaccel');/" \
-e "s/define('SELF_URL_PATH'.*/define('SELF_URL_PATH','$SELF_URL_PATH');/" \
< $DST_DIR/config.php-dist > $DST_DIR/config.php
cat >> $DST_DIR/config.php << EOF
define('NGINX_XACCEL_PREFIX', '/tt-rss');
EOF
fi
crond &