Skip to content

Commit 0be9711

Browse files
applied nb shortcode for non-breaking spaces and hyphens (#627)
1 parent 9398fa2 commit 0be9711

27 files changed

+412
-410
lines changed

content/nginx/admin-guide/installing-nginx/installing-nginx-plus-amazon-web-services.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ To quickly set up an NGINX Plus environment on AWS:
3030

3131
Click the **Continue to Subscribe** button to proceed to the **Launch on EC2** page.
3232

33-
3. Select the type of launch by clicking the appropriate tab (**1‑Click Launch***, **Manual Launch**, or **Service Catalog**). Choose the desired options for billing, instance size, and so on, and click the **Accept Software Terms…** button.
34-
4. When configuring the firewall rules, add a rule to accept web traffic on TCP ports 80 and 443 (this happens automatically if you launch from the **1‑Click Launch** tab).
33+
3. Select the type of launch by clicking the appropriate tab ({{<nb>}}**1-Click Launch**{{</nb>}}, {{<nb>}}**Manual Launch**{{</nb>}}, or {{<nb>}}**Service Catalog**{{</nb>}}). Choose the desired options for billing, instance size, and so on, and click the {{<nb>}}**Accept Software Terms…**{{</nb>}} button.
34+
4. When configuring the firewall rules, add a rule to accept web traffic on TCP ports 80 and 443 (this happens automatically if you launch from the {{<nb>}}**1-Click Launch**{{</nb>}} tab).
3535
5. As soon as the new EC2 instance launches, NGINX Plus starts automatically and serves a default **index.html** page. To view the page, use a web browser to access the public DNS name of the new instance. You can also check the status of the NGINX Plus server by logging into the EC2 instance and running this command:
3636

3737
```nginx

content/nginx/admin-guide/monitoring/new-relic-plugin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Download the [plug‑in and installation instructions](https://docs.newrelic.com
3333

3434
## Configuring the Plug‑In
3535

36-
The configuration file for the NGINX plug‑in is **/etc/nginx&#8209;nr&#8209;agent/nginx&#8209;nr&#8209;agent.ini**. The minimal configuration includes:
36+
The configuration file for the NGINX plug‑in is {{<nb>}}**/etc/nginx-nr-agent/nginx-nr-agent.ini**{{</nb>}}. The minimal configuration includes:
3737

3838
- Your New Relic license key in the `newrelic_license_key` statement in the `global` section.
3939

@@ -44,7 +44,7 @@ The configuration file for the NGINX plug‑in is **/etc/nginx&#8209;nr&#8209;ag
4444

4545
You can include the optional `http_user` and `http_pass` statements to set HTTP basic authentication credentials in cases where the corresponding location is protected by the NGINX [auth_basic](https://nginx.org/en/docs/http/ngx_http_auth_basic_module.html#auth_basic) directive.
4646

47-
The default log file is **/var/log/nginx&#8209;nr&#8209;agent.log**.
47+
The default log file is {{<nb>}}**/var/log/nginx-nr-agent.log**{{</nb>}}.
4848

4949
## Running the Plug‑In
5050

content/nginx/deployment-guides/amazon-web-services/high-availability-keepalived.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ Allocate an Elastic IP address and remember its ID. For detailed instructions, s
9696

9797
The NGINX Plus HA solution uses two scripts, which are invoked by `keepalived`:
9898

99-
- **nginx&#8209;ha&#8209;check** – Determines the health of NGINX Plus.
100-
- **nginx&#8209;ha&#8209;notify** – Moves the Elastic IP address when a state transition happens, for example when the backup instance becomes the primary.
99+
- {{<nb>}}**nginx-ha-check**{{</nb>}} – Determines the health of NGINX Plus.
100+
- {{<nb>}}**nginx-ha-notify**{{</nb>}} – Moves the Elastic IP address when a state transition happens, for example when the backup instance becomes the primary.
101101

102102
1. Create a directory for the scripts, if it doesn’t already exist.
103103

@@ -121,7 +121,7 @@ The NGINX Plus HA solution uses two scripts, which are invoked by `keepalived`:
121121
There are two configuration files for the HA solution:
122122

123123
- **keepalived.conf** – The main configuration file for `keepalived`, slightly different for each NGINX Plus instance.
124-
- **nginx&#8209;ha&#8209;notify** – The script you downloaded in [Step 4](#ha-aws_ha-scripts), with several user‑defined variables.
124+
- {{<nb>}}**nginx-ha-notify**{{</nb>}} – The script you downloaded in [Step 4](#ha-aws_ha-scripts), with several user‑defined variables.
125125

126126
<span id="ha-aws_keepalived-conf-file"></span>
127127
### Creating keepalived.conf
@@ -158,8 +158,8 @@ You must change values for the following configuration keywords. As you do so, a
158158

159159
- `script` in the `chk_nginx_service` block – The script that sends health checks to NGINX Plus.
160160

161-
- On Ubuntu systems, **/usr/lib/keepalived/nginx&#8209;ha&#8209;check**
162-
- On CentOS systems, **/usr/libexec/keepalived/nginx&#8209;ha&#8209;check**
161+
- On Ubuntu systems, {{<nb>}}**/usr/lib/keepalived/nginx-ha-check**{{</nb>}}
162+
- On CentOS systems, {{<nb>}}**/usr/libexec/keepalived/nginx-ha-check**{{</nb>}}
163163

164164
- `priority` – The value that controls which instance becomes primary, with a higher value meaning a higher priority. Use `101` for the primary instance and `100` for the backup.
165165

@@ -171,13 +171,13 @@ You must change values for the following configuration keywords. As you do so, a
171171

172172
- `notify` – The script that is invoked during a state transition.
173173

174-
- On Ubuntu systems, **/usr/lib/keepalived/nginx&#8209;ha&#8209;notify**
175-
- On CentOS systems, **/usr/libexec/keepalived/nginx&#8209;ha&#8209;notify**
174+
- On Ubuntu systems, {{<nb>}}**/usr/lib/keepalived/nginx-ha-notify**{{</nb>}}
175+
- On CentOS systems, {{<nb>}}**/usr/libexec/keepalived/nginx-ha-notify**{{</nb>}}
176176

177177
<span id="ha-aws_nginx-ha-notify-script"></span>
178178
### Creating nginx-ha-notify
179179

180-
Modify the user‑defined variables section of the **nginx&#8209;ha&#8209;notify** script, replacing each `<value>` placeholder with the value specified in the list below:
180+
Modify the user‑defined variables section of the {{<nb>}}**nginx-ha-notify**{{</nb>}} script, replacing each `<value>` placeholder with the value specified in the list below:
181181

182182
```none
183183
export AWS_ACCESS_KEY_ID=<value>
@@ -223,7 +223,7 @@ Check the state on the backup instance, confirming that it has transitioned to `
223223
<span id="ha-aws_troubleshooting"></span>
224224
## Troubleshooting
225225

226-
If the solution doesn’t work as expected, check the `keepalived` logs, which are written to **/var/log/syslog**. Also, you can manually run the commands that invoke the `awscli` utility in the **nginx&#8209;ha&#8209;notify** script to check that the utility is working properly.
226+
If the solution doesn’t work as expected, check the `keepalived` logs, which are written to **/var/log/syslog**. Also, you can manually run the commands that invoke the `awscli` utility in the {{<nb>}}**nginx-ha-notify**{{</nb>}} script to check that the utility is working properly.
227227

228228
<span id="ha-aws_caveats"></span>
229229
## Caveats

content/nginx/deployment-guides/amazon-web-services/high-availability-network-load-balancer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ Configure NGINX Plus instances as load balancers. These distribute requests to
291291

292292
Use the *Step‑by‑step* instructions in our deployment guide, [Setting Up an NGINX Demo Environment]({{< ref "/nginx/deployment-guides/setting-up-nginx-demo-environment.md" >}}).
293293

294-
Repeat the instructions on both **ngx&#8209;plus&#8209;1** and **ngx&#8209;plus&#8209;2**.
294+
Repeat the instructions on both {{<nb>}}**ngx-plus-1**{{</nb>}} and {{<nb>}}**ngx-plus-2**{{</nb>}}.
295295

296296
<span id="create-instances-automated"></span>
297297
### Automate instance setup with Packer and Terraform
@@ -317,7 +317,7 @@ To run the scripts, follow these instructions:
317317

318318
3. Set your AWS credentials in the Packer and Terraform scripts:
319319

320-
- For Packer, set your credentials in the `variables` block in <span style="text-decoration: underline;">both</span> **packer/ngx&#8209;oss/packer.json** and **packer/ngx&#8209;plus/packer.json**:
320+
- For Packer, set your credentials in the `variables` block in <span style="text-decoration: underline;">both</span> {{<nb>}}**packer/ngx-oss/packer.json**{{</nb>}} and {{<nb>}}**packer/ngx-plus/packer.json**{{</nb>}}:
321321

322322
```none
323323
"variables": {

content/nginx/deployment-guides/amazon-web-services/ingress-controller-elastic-kubernetes-services.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ This guide covers the `eksctl` command as it is the simplest option.
4343

4444
1. Follow the instructions in the [eksctl.io documentation](https://eksctl.io/installation/) to install or update the `eksctl` command.
4545

46-
2. Create an Amazon EKS cluster by following the instructions in the [AWS documentation](https://docs.aws.amazon.com/eks/latest/userguide/getting-started-eksctl.html). Select the **Managed&nbsp;nodes&nbsp;&nbsp;Linux** option for each step. Note that the <span style="white-space: nowrap;">`eksctl create cluster`</span> command in the first step can take ten minutes or more.
46+
2. Create an Amazon EKS cluster by following the instructions in the [AWS documentation](https://docs.aws.amazon.com/eks/latest/userguide/getting-started-eksctl.html). Select the {{<nb>}}**Managed nodesLinux**{{</nb>}} option for each step. Note that the <span style="white-space: nowrap;">`eksctl create cluster`</span> command in the first step can take ten minutes or more.
4747

4848
<span id="amazon-ecr"></span>
4949
## Push the NGINX Plus Ingress Controller Image to AWS ECR
5050

5151
This step is only required if you do not plan to use the prebuilt NGINX Open Source image.
5252

53-
1. Use the [AWS documentation](https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-create.html) to create a repository in the Amazon Elastic Container Registry (ECR). In Step 4 of the AWS instructions, name the repository **nginx&#8209;plus&#8209;ic** as that is what we use in this guide.
53+
1. Use the [AWS documentation](https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-create.html) to create a repository in the Amazon Elastic Container Registry (ECR). In Step 4 of the AWS instructions, name the repository {{<nb>}}**nginx-plus-ic**{{</nb>}} as that is what we use in this guide.
5454

5555
2. Run the following AWS CLI command. It generates an auth token for your AWS ECR registry, then pipes it into the `docker login` command. This lets AWS ECR authenticate and authorize the upcoming Docker requests. For details about the command, see the [AWS documentation](https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry_auth.html).
5656

0 commit comments

Comments
 (0)