[fix] Nginx traversal issue

This commit is contained in:
ljf 2018-01-17 17:19:06 +01:00
parent eb38100265
commit 8a2434eb44

View file

@ -1,4 +1,6 @@
location /yunohost/admin {
# Fix the nginx traversal weak ( #1034 )
rewrite ^/yunohost/admin$ /yunohost/admin/ permanent;
location /yunohost/admin/ {
alias /usr/share/yunohost/admin/;
default_type text/html;
index index.html;