Saltstack Official Nginx Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.rst 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. =====
  2. nginx
  3. =====
  4. Install nginx either by source or by package.
  5. .. note::
  6. See the full `Salt Formulas installation and usage instructions
  7. <http://docs.saltstack.com/topics/conventions/formulas.html>`_.
  8. Available states
  9. ================
  10. .. contents::
  11. :local:
  12. ``nginx``
  13. ---------
  14. Runs the states to install nginx, configure the common files, and the users.
  15. ``nginx.common``
  16. ----------------
  17. Ensures standard nginx files are in place, and configures enabled sites.
  18. ``nginx.luajit2``
  19. -----------------
  20. Installs luajit.
  21. ``nginx.openresty``
  22. -------------------
  23. Installs openresty.
  24. ``nginx.package``
  25. -----------------
  26. Installs the nginx package via package manager.
  27. ``nginx.source``
  28. ----------------
  29. Installs nginx via the source files.
  30. ``nginx.users``
  31. ---------------
  32. Installs apache utils, and configures nginx users specified in the pillar.
  33. ``nginx.ng``
  34. ------------
  35. Meta-state for inclusion of all ng states. This is a reimplementation that provides basic support for vhost management.
  36. **Note:** nginx.ng requires the merge parameter of salt.modules.pillar.get(), first available in the Helium release.
  37. ``nginx.ng.install``
  38. ~~~~~~~~~~~~~~~~~~~~
  39. Installs the nginx package.
  40. ``nginx.ng.config``
  41. ~~~~~~~~~~~~~~~~~~~
  42. Manages the nginx main server configuration file.
  43. ``nginx.ng.service``
  44. ~~~~~~~~~~~~~~~~~~~~
  45. Manages the startup and running state of the nginx service.
  46. ``nginx.ng.vhosts_config``
  47. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  48. Manages virtual host files. This state only manages the content of the files and does not bind them to service calls.
  49. ``nginx.ng.vhosts``
  50. ~~~~~~~~~~~~~~~~~~~
  51. Manages nginx virtual hosts files and binds them to service calls.