mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-18 18:07:22 +01:00
updates on nginx security headers
This commit is contained in:
@@ -156,8 +156,6 @@ if [ ! -f /etc/nginx/conf.d/10-geoblock.conf ]; then
|
||||
cp -f conf/nginx/conf.d/10-geoblock.conf /etc/nginx/conf.d/
|
||||
fi
|
||||
|
||||
cp -f conf/nginx/security.conf /etc/nginx/sites-enabled/
|
||||
|
||||
# touch logfiles that might not exist
|
||||
touch /var/log/nginx/geoipblock.log
|
||||
chown www-data /var/log/nginx/geoipblock.log
|
||||
|
||||
Reference in New Issue
Block a user