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:
parent
bd281d14a8
commit
e648063520
2 changed files with 8 additions and 3 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
1.6.1 2016-02-12
|
1.6.1 2016-02-12
|
||||||
- Update to movim 0.9 git2016-01-27
|
- Update to movim 0.9 git2016-01-27
|
||||||
|
- Improve config/ and log/ protection (nginx)
|
||||||
|
|
||||||
1.6 2016-01-27
|
1.6 2016-01-27
|
||||||
- Update to movim 0.9 git2016-01-27
|
- Update to movim 0.9 git2016-01-27
|
||||||
|
|
|
@ -40,9 +40,13 @@ location ~ /\.ht {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /(config|log)$ {
|
location ^~ /movim/log/ {
|
||||||
return 403;
|
return 403;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ^~ /movim/config/ {
|
||||||
|
return 403;
|
||||||
|
}
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
|
|
Loading…
Reference in a new issue