You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/nginx/admin-guide/installing-nginx/installing-nginx-plus-amazon-web-services.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,8 +30,8 @@ To quickly set up an NGINX Plus environment on AWS:
30
30
31
31
Click the **Continue to Subscribe** button to proceed to the **Launch on EC2** page.
32
32
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-ClickLaunch**{{</nb>}}, {{<nb>}}**ManualLaunch**{{</nb>}}, or {{<nb>}}**ServiceCatalog**{{</nb>}}). Choose the desired options for billing, instance size, and so on, and click the {{<nb>}}**AcceptSoftwareTerms…**{{</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-ClickLaunch**{{</nb>}} tab).
35
35
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:
Copy file name to clipboardExpand all lines: content/nginx/admin-guide/monitoring/new-relic-plugin.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ Download the [plug‑in and installation instructions](https://docs.newrelic.com
33
33
34
34
## Configuring the Plug‑In
35
35
36
-
The configuration file for the NGINX plug‑in is **/etc/nginx‑nr‑agent/nginx‑nr‑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:
37
37
38
38
- Your New Relic license key in the `newrelic_license_key` statement in the `global` section.
39
39
@@ -44,7 +44,7 @@ The configuration file for the NGINX plug‑in is **/etc/nginx‑nr‑ag
44
44
45
45
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.
46
46
47
-
The default log file is **/var/log/nginx‑nr‑agent.log**.
47
+
The default log file is {{<nb>}}**/var/log/nginx-nr-agent.log**{{</nb>}}.
Copy file name to clipboardExpand all lines: content/nginx/deployment-guides/amazon-web-services/high-availability-keepalived.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -96,8 +96,8 @@ Allocate an Elastic IP address and remember its ID. For detailed instructions, s
96
96
97
97
The NGINX Plus HA solution uses two scripts, which are invoked by `keepalived`:
98
98
99
-
- **nginx‑ha‑check** – Determines the health of NGINX Plus.
100
-
- **nginx‑ha‑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.
101
101
102
102
1. Create a directory for the scripts, if it doesn’t already exist.
103
103
@@ -121,7 +121,7 @@ The NGINX Plus HA solution uses two scripts, which are invoked by `keepalived`:
121
121
There are two configuration files for the HA solution:
122
122
123
123
- **keepalived.conf** – The main configuration file for`keepalived`, slightly different for each NGINX Plus instance.
124
-
- **nginx‑ha‑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.
125
125
126
126
<span id="ha-aws_keepalived-conf-file"></span>
127
127
### Creating keepalived.conf
@@ -158,8 +158,8 @@ You must change values for the following configuration keywords. As you do so, a
158
158
159
159
- `script`in the `chk_nginx_service` block – The script that sends health checks to NGINX Plus.
160
160
161
-
- On Ubuntu systems, **/usr/lib/keepalived/nginx‑ha‑check**
162
-
- On CentOS systems, **/usr/libexec/keepalived/nginx‑ha‑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>}}
163
163
164
164
- `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.
165
165
@@ -171,13 +171,13 @@ You must change values for the following configuration keywords. As you do so, a
171
171
172
172
- `notify` – The script that is invoked during a state transition.
173
173
174
-
- On Ubuntu systems, **/usr/lib/keepalived/nginx‑ha‑notify**
175
-
- On CentOS systems, **/usr/libexec/keepalived/nginx‑ha‑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>}}
176
176
177
177
<span id="ha-aws_nginx-ha-notify-script"></span>
178
178
### Creating nginx-ha-notify
179
179
180
-
Modify the user‑defined variables section of the **nginx‑ha‑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:
181
181
182
182
```none
183
183
export AWS_ACCESS_KEY_ID=<value>
@@ -223,7 +223,7 @@ Check the state on the backup instance, confirming that it has transitioned to `
223
223
<span id="ha-aws_troubleshooting"></span>
224
224
## Troubleshooting
225
225
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‑ha‑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.
Copy file name to clipboardExpand all lines: content/nginx/deployment-guides/amazon-web-services/high-availability-network-load-balancer.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -291,7 +291,7 @@ Configure NGINX Plus instances as load balancers. These distribute requests to
291
291
292
292
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" >}}).
293
293
294
-
Repeat the instructions on both **ngx‑plus‑1** and **ngx‑plus‑2**.
294
+
Repeat the instructions on both {{<nb>}}**ngx-plus-1**{{</nb>}} and {{<nb>}}**ngx-plus-2**{{</nb>}}.
295
295
296
296
<spanid="create-instances-automated"></span>
297
297
### Automate instance setup with Packer and Terraform
@@ -317,7 +317,7 @@ To run the scripts, follow these instructions:
317
317
318
318
3. Set your AWS credentials in the Packer and Terraform scripts:
319
319
320
-
- For Packer, set your credentials in the `variables` block in <spanstyle="text-decoration: underline;">both</span> **packer/ngx‑oss/packer.json** and **packer/ngx‑plus/packer.json**:
320
+
- For Packer, set your credentials in the `variables` block in <spanstyle="text-decoration: underline;">both</span> {{<nb>}}**packer/ngx-oss/packer.json**{{</nb>}} and {{<nb>}}**packer/ngx-plus/packer.json**{{</nb>}}:
Copy file name to clipboardExpand all lines: content/nginx/deployment-guides/amazon-web-services/ingress-controller-elastic-kubernetes-services.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -43,14 +43,14 @@ This guide covers the `eksctl` command as it is the simplest option.
43
43
44
44
1. Follow the instructions in the [eksctl.io documentation](https://eksctl.io/installation/) to install or update the `eksctl` command.
45
45
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 nodes – Linux** option for each step. Note that the <spanstyle="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>}}**Managednodes – Linux**{{</nb>}} option for each step. Note that the <spanstyle="white-space: nowrap;">`eksctl create cluster`</span> command in the first step can take ten minutes or more.
47
47
48
48
<spanid="amazon-ecr"></span>
49
49
## Push the NGINX Plus Ingress Controller Image to AWS ECR
50
50
51
51
This step is only required if you do not plan to use the prebuilt NGINX Open Source image.
52
52
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‑plus‑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.
54
54
55
55
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).
0 commit comments