security: only expose /p

https://freshrss.github.io/FreshRSS/en/admins/02_Installation.html says so
This commit is contained in:
Girish Ramakrishnan 2019-01-03 15:32:16 -08:00
parent 7bba9af744
commit 5e5336cfba
2 changed files with 3 additions and 3 deletions

View File

@ -1,11 +1,11 @@
<VirtualHost *:8000>
DocumentRoot /app/code
DocumentRoot /app/code/p
AllowEncodedSlashes On
ErrorLog /dev/stderr
CustomLog /dev/stdout combined
<Directory /app/code/>
<Directory /app/code/p/>
Options +FollowSymLinks
AllowOverride All
Require all granted

View File

@ -35,7 +35,7 @@ done
echo "Updating config file"
php cli/reconfigure.php --default_user admin --base_url "https://${APP_DOMAIN}/p" \
php cli/reconfigure.php --default_user admin --base_url "https://${APP_DOMAIN}" \
--db-type mysql --db-host "${MYSQL_HOST}" \
--db-user "${MYSQL_USERNAME}" --db-password "${MYSQL_PASSWORD}" \
--db-base "${MYSQL_DATABASE}" --db-prefix "" \