mirror of
https://github.com/YunoHost-Apps/webtrees_ynh.git
synced 2024-09-03 18:26:37 +02:00
Security fix
This commit is contained in:
parent
27cf2bc2bf
commit
6994bd148e
1 changed files with 7 additions and 1 deletions
|
@ -31,7 +31,13 @@ location __PATH__ {
|
||||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||||
}
|
}
|
||||||
# PHP configuration end
|
# PHP configuration end
|
||||||
|
|
||||||
|
# Deny access to /data/config.ini.php
|
||||||
|
location = /data/config.ini.php {
|
||||||
|
deny all;
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue