Skip to content

Commit

Permalink
CLI: add verify command to verify apisix configuration(nginx.conf). (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
agile6v authored and SaberMaster committed Jun 30, 2020
1 parent c8ac99d commit 17a556c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 17a556c

Please sign in to comment.