1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00

improve log/ and config/ protection in nginx

This commit is contained in:
Xavier ROOT 2016-02-12 10:12:05 +01:00
parent bd281d14a8
commit e648063520
2 changed files with 8 additions and 3 deletions

View file

@ -2,6 +2,7 @@
1.6.1 2016-02-12
- Update to movim 0.9 git2016-01-27
- Improve config/ and log/ protection (nginx)
1.6 2016-01-27
- Update to movim 0.9 git2016-01-27

View file

@ -40,9 +40,13 @@ location ~ /\.ht {
deny all;
}
location ~ /(config|log)$ {
return 403;
}
location ^~ /movim/log/ {
return 403;
}
location ^~ /movim/config/ {
return 403;
}
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;