hara.runtime.nginx
access-logs
added in 4.0
(access-logs)(access-logs {:keys [state], :as rt})gets the running nginx access log
all-nginx-active
added in 4.0
(all-nginx-active port)gets all active nginx processes for a port
dir-tree
added in 4.0
(dir-tree)(dir-tree {:keys [state], :as rt})gets the running nginx access log
error-logs
added in 4.0
(error-logs)(error-logs {:keys [state], :as rt})gets the running nginx error log
invoke-ptr-nginx
added in 4.0
(invoke-ptr-nginx rt ptr args)evaluates lua ptr and arguments
kill-single-nginx
added in 4.0
(kill-single-nginx port)kills nginx processes for a single port
nginx-conf
added in 4.0
(nginx-conf)(nginx-conf {:keys [state], :as rt})accesses the running ngx conf
nginx:create
added in 4.0
(nginx:create {:keys [id port], :as m, :or {id (f/sid), port (network/port:check-available 0)}})creates a dev nginx runtime
raw-eval-nginx
added in 4.0
(raw-eval-nginx {:keys [scheme host port eval-path dev], :as rt} body)posts a raw lua string to the dev server
start-test-server
added in 4.0
(start-test-server {:keys [port container], :as rt})starts the test server for a given port
start-test-server-container
added in 4.0
(start-test-server-container {:keys [host port container], :as rt})starts in container
start-test-server-shell
added in 4.0
(start-test-server-shell {:keys [host port], :as rt})starts in shell
stop-test-server
added in 4.0
(stop-test-server {:keys [port no-server]})stops the nginx test server