mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Nginx traversal issue
This commit is contained in:
parent
eb38100265
commit
8a2434eb44
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue