1
0
Fork 0
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:
Alexandre Aubin 2020-11-03 21:29:01 +01:00 committed by GitHub
commit bad858edaf
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__/; proxy_pass http://127.0.0.1:__PORT__/;
} }
location __PATH__/downloads { location __PATH__/downloads/ {
alias /home/yunohost.transmission/completed/; alias /home/yunohost.transmission/completed/;
autoindex on; autoindex on;
autoindex_exact_size off; autoindex_exact_size off;