mirror of
https://github.com/YunoHost-Apps/dokuwiki_ynh.git
synced 2024-09-03 18:26:20 +02:00
chore(linter) fix linter warning in CI
! When using regexp in the nginx location field (location ~ __PATH__), start the path with ^ (location ~ ^__PATH__).
This commit is contained in:
parent
8b3a69bb64
commit
fdbb2e81f6
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ location __PATH__/ {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Deny Access to htaccess-Files for Apache
|
# Deny Access to htaccess-Files for Apache
|
||||||
location ~ __PATH__/\.ht {
|
location ~ ^__PATH__/\.ht {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue