gonginx icon indicating copy to clipboard operation
gonginx copied to clipboard

panic: unknown directive '''' on line 32, column 2

Open AmShadows opened this issue 1 year ago • 0 comments

https://github.com/tufanbarisyildirim/gonginx/blob/master/examples/formatting/main.go 运行报错了 panic: unknown directive '''' on line 32, column 2

类似报错的还有 案例 location /aaa/ { limit_rate 10M; check_status; } 报错unknown directive 'check_status' on line 256, column 17

案例 map $http_x_forwarded_for $clientRealIp
{
"" $remote_addr;
~^(?P<firstAddr>[0-9.]+),?.*$ $firstAddr;
} 报错unknown directive '""' on line 2047, column 5

案例upstream www.abc.com{ server 1.2.3.4:8080; check interval=5000 rise=1 fall=2 timeout=1000; }

报错unknown directive 'check' on line 481, column 2

AmShadows avatar Feb 27 '24 08:02 AmShadows