Skip to content

Commit

Permalink
Update nginx.conf to protect against path traversal issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alexAubin committed Oct 25, 2020
1 parent 48130bb commit f136dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f136dfd

Please sign in to comment.