mirror of
https://github.com/YunoHost-Apps/z-push_ynh.git
synced 2024-09-03 18:05:58 +02:00
Merge pull request #61 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
13934b4d3e
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
location /Microsoft-Server-ActiveSync {
|
||||
#sub_path_only rewrite ^Microsoft-Server-ActiveSync$ Microsoft-Server-ActiveSync/ permanent;
|
||||
location /Microsoft-Server-ActiveSync/ {
|
||||
# Path to source
|
||||
alias __FINALPATH__/ ;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue