mirror of
https://github.com/YunoHost-Apps/garradin_ynh.git
synced 2024-09-03 18:36:17 +02:00
Update nginx.conf to protect against path traversal issue
This commit is contained in:
parent
4a8d93391e
commit
c6f5a20121
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||
location __PATH__ {
|
||||
location __PATH__/ {
|
||||
|
||||
# Path to source
|
||||
alias __FINALPATH__/www/ ;
|
||||
|
|
Loading…
Reference in a new issue