Merge pull request #132 from YunoHost/OniriCorpe-patch-1

Downgrade misc_nginx_check_regex_in_location from Warning to Info
This commit is contained in:
Tagada 2024-02-21 01:40:31 +01:00 committed by GitHub
commit daf913007a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1448,7 +1448,7 @@ class Configurations(TestSuite):
cmd = 'grep -q -IhEro "location ~ __PATH__" %s' % (app.path + "/conf/" + filename)
if os.system(cmd) != 0:
yield Warning(
yield Info(
"When using regexp in the nginx location field (location ~ __PATH__), start the path with ^ (location ~ ^__PATH__)."
)