1
0
Fork 0
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 (#114)

! When using regexp in the nginx location field (location ~ __PATH__), start the path with ^ (location ~ ^__PATH__).
This commit is contained in:
Gofannon 2024-08-21 16:36:29 +02:00 committed by GitHub
parent 9aa1e83c98
commit c1bfe4a56d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,7 +34,7 @@ location __PATH__/ {
}
# Deny Access to htaccess-Files for Apache
location ~ __PATH__/\.ht {
location ~ ^__PATH__/\.ht {
deny all;
}