1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transmission_ynh.git synced 2024-09-04 01:46:12 +02:00

Update nginx.conf to protect against path traversal issue

This commit is contained in:
Alexandre Aubin 2020-10-25 11:49:27 +01:00 committed by GitHub
parent 48130bb749
commit f136dfd44e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;