mirror of
https://github.com/linuxserver/docker-swag.git
synced 2025-01-23 05:01:18 -05:00
use single quotes
This commit is contained in:
parent
020ab44638
commit
7437478c3a
@ -110,7 +110,7 @@ if ! grep -q '#Removed lua' /config/nginx/nginx.conf; then
|
||||
fi
|
||||
|
||||
# patch authelia-server.conf for CVE-2021-32637
|
||||
if ! grep -q "if (\$request_uri ~" /config/nginx/authelia-server.conf; then
|
||||
if ! grep -q 'if ($request_uri ~' /config/nginx/authelia-server.conf; then
|
||||
sed -i '/internal;/a \ \ \ \ if ($request_uri ~ [^a-zA-Z0-9_+-=\\!@$%&*?~.:#'\''\\;\\(\\)\\[\\]]) { return 401; }' /config/nginx/authelia-server.conf
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user