Skip to content

Commit 3866aa1

Browse files
committed
fixed nginx conf
1 parent 12d95f1 commit 3866aa1

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

content/waf/configure/nginx-features.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,15 @@ The following example demonstrates the general rule:
3535

3636
{{< tabs name="subrequest-example" >}}
3737

38-
{{% tab name="nginx.js" %}}
38+
{{% tab name="nginx.conf" %}}
3939

4040
```nginx
4141
user nginx;
42-
worker_processes 4;
43-
#daemon off;
42+
worker_processes auto;
4443
4544
load_module modules/ngx_http_app_protect_module.so;
4645
load_module modules/ngx_http_js_module.so;
4746
48-
error_log /var/log/nginx/error.log warn;
49-
50-
events {
51-
worker_connections 65536;
52-
}
53-
5447
http {
5548
include /etc/nginx/mime.types;
5649
default_type application/octet-stream;

0 commit comments

Comments
 (0)