Skip to content

Commit

Permalink
Merge pull request #2110 from OnlineDynamic/accessibilityandsecurityd…
Browse files Browse the repository at this point in the history
…ec24

upgrade script to lock down mod_status to localhost only
  • Loading branch information
OnlineDynamic authored Jan 8, 2025
2 parents 0aeab38 + 2b48c3c commit bedb018
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions upgrade/93/upgrade.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
#####################################

BINDIR=$(cd $(dirname $0) && pwd)
. ${BINDIR}/../../scripts/common


#copy across new apache conf for mod_status
cat /opt/fpp/etc/apache2.status > /etc/apache2/mods-enabled/status.conf
#restart apache
sudo service apache2 restart

0 comments on commit bedb018

Please sign in to comment.