security: only expose /p
https://freshrss.github.io/FreshRSS/en/admins/02_Installation.html says so
This commit is contained in:
parent
7bba9af744
commit
5e5336cfba
|
@ -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
|
||||
|
|
2
start.sh
2
start.sh
|
@ -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 "" \
|
||||
|
|
Loading…
Reference in New Issue