mirror of
https://github.com/YunoHost-Apps/transmission_ynh.git
synced 2024-09-04 01:46:12 +02:00
Merge pull request #75 from YunoHost-Apps/fix-path-traversal
[N.B. : App to be downgraded to level 4 if this ain't fixed soon...] Update nginx.conf to protect against path traversal issue
This commit is contained in:
commit
bad858edaf
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ location __PATH__/ {
|
|||
proxy_pass http://127.0.0.1:__PORT__/;
|
||||
}
|
||||
|
||||
location __PATH__/downloads {
|
||||
location __PATH__/downloads/ {
|
||||
alias /home/yunohost.transmission/completed/;
|
||||
autoindex on;
|
||||
autoindex_exact_size off;
|
||||
|
|
Loading…
Reference in a new issue