1
0
Fork 0
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:
yalh76 2020-11-03 20:07:02 +01:00 committed by GitHub
commit 13934b4d3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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