You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by me...@apache.org on 2020/02/09 12:43:38 UTC

[incubator-apisix] branch master updated: CLI: add verify command to verify apisix configuration(nginx.conf). (#1112)

This is an automated email from the ASF dual-hosted git repository.

membphis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new ff4c4f5  CLI: add verify command to verify apisix configuration(nginx.conf). (#1112)
ff4c4f5 is described below

commit ff4c4f5afbe6b64916b15fcca007580c263ac35d
Author: agile6v <ag...@agile6v.com>
AuthorDate: Sun Feb 9 20:43:30 2020 +0800

    CLI: add verify command to verify apisix configuration(nginx.conf). (#1112)
---
 Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Makefile b/Makefile
index a72f75f..f56f378 100644
--- a/Makefile
+++ b/Makefile
@@ -102,6 +102,12 @@ stop: default
 	$(OR_EXEC) -p $$PWD/ -c $$PWD/conf/nginx.conf -s stop
 
 
+### verify:           Verify the configuration of apisix server
+.PHONY: verify
+verify: default
+	$(OR_EXEC) -p $$PWD/ -c $$PWD/conf/nginx.conf -t
+
+
 ### clean:            Remove generated files
 .PHONY: clean
 clean: