1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wetty_ynh.git synced 2024-09-03 18:16:29 +02:00

Fix the issue alias_traversal

https://github.com/yandex/gixy/blob/master/docs/en/plugins/aliastraversal.md
This commit is contained in:
Maniack Crudelis 2017-12-30 00:15:12 +01:00 committed by GitHub
parent f68d61d8a5
commit 9824705dfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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