Skip to content

Commit

Permalink
CLI: add verify command to verify apisix configuration(nginx.conf). (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
agile6v authored Feb 9, 2020
1 parent 60b2493 commit ff4c4f5
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 ff4c4f5

Please sign in to comment.