mirror of
https://github.com/YunoHost-Apps/question2answer_ynh.git
synced 2024-09-03 20:16:07 +02:00
Fix the issue alias_traversal
https://github.com/yandex/gixy/blob/master/docs/en/plugins/aliastraversal.md
This commit is contained in:
parent
f68d61d8a5
commit
9824705dfb
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
location __PATH__ {
|
rewrite ^__PATH__$ ^__PATH__/ permanent;
|
||||||
|
location __PATH__/ {
|
||||||
|
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __FINALPATH__/ ;
|
alias __FINALPATH__/ ;
|
||||||
|
|
Loading…
Reference in a new issue