Support for nginx
salt.modules.nginx.
configtest
()¶test configuration and exit
CLI Example:
salt '*' nginx.configtest
salt.modules.nginx.
signal
(signal=None)¶Signals nginx to start, reload, reopen or stop.
CLI Example:
salt '*' nginx.signal reload
salt.modules.nginx.
status
(url='http://127.0.0.1/status')¶Return the data from an Nginx status page as a dictionary. http://wiki.nginx.org/HttpStubStatusModule
CLI Example:
salt '*' nginx.status
salt.modules.nginx.
version
()¶Return server version from nginx -v
CLI Example:
salt '*' nginx.version