nginx-formatter
nginx-formatter copied to clipboard
The escape character will be lost
I executed . /nginx-formatter in the config file directory
if ($http_user_agent ~ (Edg|Sogou\ web|Semrushbot|Scrapy|Curl)) {
return 403; }
}
After formatting it will become
if ($http_user_agent ~ (Edg|Sogou web|Semrushbot|Scrapy|Curl)) {
return 403; }
}