mirror of
https://github.com/YunoHost-Apps/hubzilla_ynh.git
synced 2024-09-03 19:26:21 +02:00
Update nginx.conf to protect against path traversal issue
This commit is contained in:
parent
98b3a9ac41
commit
0c1dc55374
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
location __PATH__
|
||||
{
|
||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||
location __PATH__/ {
|
||||
alias __FINALPATH__/;
|
||||
# Force https
|
||||
if ($scheme = http)
|
||||
|
|
Loading…
Add table
Reference in a new issue