1- =====
2- nginx
3- =====
1+ .. _readme :
42
5- Install nginx either by source or by package.
3+ nginx-formula
4+ =============
65
7- .. note ::
6+ | img_travis | | img_sr |
87
8+ .. |img_travis | image :: https://travis-ci.com/saltstack-formulas/nginx-formula.svg?branch=master
9+ :alt: Travis CI Build Status
10+ :scale: 100%
11+ :target: https://travis-ci.com/saltstack-formulas/nginx-formula
12+ .. |img_sr | image :: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
13+ :alt: Semantic Release
14+ :scale: 100%
15+ :target: https://github.com/semantic-release/semantic-release
916
10- See the full `Salt Formulas installation and usage instructions
11- <http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html> `_.
17+ Formula to set up and configure nginx
18+
19+ .. contents :: **Table of Contents**
20+
21+ General notes
22+ -------------
23+
24+ See the full `SaltStack Formulas installation and usage instructions
25+ <https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html> `_.
26+
27+ If you are interested in writing or contributing to formulas, please pay attention to the `Writing Formula Section
28+ <https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#writing-formulas> `_.
29+
30+ If you want to use this formula, please pay attention to the ``FORMULA `` file and/or ``git tag ``,
31+ which contains the currently released version. This formula is versioned according to `Semantic Versioning <http://semver.org/ >`_.
32+
33+ See `Formula Versioning Section <https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#versioning >`_ for more details.
34+
35+ Contributing to this repo
36+ -------------------------
37+
38+ **Commit message formatting is significant!! **
39+
40+ Please see :ref: `How to contribute <CONTRIBUTING >` for more details.
1241
1342Available states
1443================
@@ -17,54 +46,53 @@ Available states
1746 :local:
1847
1948``nginx ``
20- ------------
49+ ---------
2150
2251Meta-state for inclusion of all states.
2352
2453**Note: ** nginx requires the merge parameter of salt.modules.pillar.get(),
2554first available in the Helium release.
2655
2756``nginx.pkg ``
28- --------------------
57+ -------------
2958
3059Installs nginx from package, from the distribution repositories, the official nginx repo or the ppa from Launchpad.
3160
3261``nginx.src ``
33- --------------------
62+ -------------
3463
3564Builds and installs nginx from source.
3665
3766``nginx.certificates ``
38- -------------------
67+ ----------------------
3968
4069Manages the deployment of nginx certificates.
4170
4271``nginx.config ``
43- -------------------
72+ ----------------
4473
4574Manages the nginx main server configuration file.
4675
4776``nginx.service ``
48- --------------------
77+ -----------------
4978
5079Manages the startup and running state of the nginx service.
5180
5281``nginx.servers_config ``
53- --------------------------
82+ ------------------------
5483
5584Manages virtual host files. This state only manages the content of the files
5685and does not bind them to service calls.
5786
5887``nginx.servers ``
59- -------------------
88+ -----------------
6089
6190Manages nginx virtual hosts files and binds them to service calls.
6291
6392``nginx.passenger ``
64- ----------------------
93+ -------------------
6594
6695Installs and configures Phusion Passenger module for nginx. You need to enable
6796the upstream phusion passenger repository with `install_from_phusionpassenger: true `.
6897Nginx will also be installed from that repository, as it needs to be modified to
6998allow the passenger module to work.
70-
0 commit comments