1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/h5ai_ynh.git synced 2024-09-03 20:36:25 +02:00

Fix path traversal issues

This commit is contained in:
Alexandre Aubin 2019-06-24 18:52:58 +02:00
parent fd62ca3b37
commit b4a4bdb67d

View file

@ -1,4 +1,5 @@
location __PATH__ {
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
# Path to source
alias __FINALPATH__/;