We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78032e6 commit 2a1e747Copy full SHA for 2a1e747
README.md
@@ -26,7 +26,7 @@ Add the following dependency to your POM:
26
27
How to perform basic parsing of the following Nginx config:
28
```java
29
-NgxConfig conf = TestUtils.parse("/etc/nginx/nginx.conf");
+NgxConfig conf = NgxConfig.read("/etc/nginx/nginx.conf");
30
NgxParam workers = conf.findParam("worker_processes"); // Ex.1
31
workers.getValue(); // "1"
32
NgxParam listen = conf.findParam("http", "server", "listen"); // Ex.2
@@ -69,6 +69,8 @@ rtmp {
69
##### Dumper
70
71
72
73
+// ...
74
NgxDumper dumper = new NgxDumper(conf);
75
return dumper.dump(System.out);
76
```
0 commit comments