apply requested changes

This commit is contained in:
Robert 2022-10-02 20:51:15 +03:00
parent be75cc704e
commit 7482d4a864
1 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ export default (domains, global) => {
config.push(['if ($block_sql_injections = 1)', { return: '403' }]);
// Block file injections
config.push(['## Block file injections', '']);
config.push(['# Block file injections', '']);
config.push(['set $block_file_injections', '0']);
config.push([
'if ($query_string ~ "[a-zA-Z0-9_]=http://")',
@ -108,7 +108,7 @@ export default (domains, global) => {
config.push(['if ($block_file_injections = 1)', { return: '403' }]);
// Block common exploits
config.push(['## Block common exploits', '']);
config.push(['# Block common exploits', '']);
config.push(['set $block_common_exploits', '0']);
config.push([
'if ($query_string ~ "(<|%3C).*script.*(>|%3E)")',