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: docs/http/http-installation-guide.md
+12-47
Original file line number
Diff line number
Diff line change
@@ -231,20 +231,18 @@ This can be any standard Linux OS system, based on the Linux Distro and Technica
231
231
<br/>
232
232
233
233
### This is the NGINX configuration required for the NGINX Loadbalancing Server, external to the cluster. It must be configured for the following:
234
-
235
-
1. Move the NGINX default Welcome page from port 80 to port 8080. Port 80 will be used by Prometheus in this Solution.
236
234
237
-
2. The NGINX NJS module is enabled, and configured to export the NGINX Plus statistics.
235
+
1. The NGINX NJS module is enabled, and configured to export the NGINX Plus statistics.
238
236
239
-
3. A self-signed TLS cert/key are used in this example for terminating TLS traffic for the Demo application, https://cafe.example.com.
237
+
2. A self-signed TLS cert/key are used in this example for terminating TLS traffic for the Demo application, https://cafe.example.com.
240
238
241
-
4. Plus API with write access enabled on port 9000. The Plus Dashboard is also enabled, used for testing, monitoring, and visualization of the Solution working.
239
+
3. Plus API with write access enabled on port 9000. The Plus Dashboard is also enabled, used for testing, monitoring, and visualization of the Solution working.
242
240
243
-
5. The `http` context is used for MultiCluster Loadbalancing, for HTTP/S processing, Split Clients ratio. The Plus Key Value Store is configured, to hold the dynamic Split ratio metadata.
241
+
4. The `http` context is used for MultiCluster Loadbalancing, for HTTP/S processing, Split Clients ratio. The Plus Key Value Store is configured, to hold the dynamic Split ratio metadata.
244
242
245
-
6. Enable Prometheus metrics exporting.
243
+
5. Enable Prometheus metrics exporting.
246
244
247
-
7. Plus Zone Sync on Port 9001 is configured, to synchronize the dynamic KeyVal data between multiple NGINX Loadbalancing Servers.
245
+
6. Plus Zone Sync on Port 9001 is configured, to synchronize the dynamic KeyVal data between multiple NGINX Loadbalancing Servers.
248
246
249
247
<br/>
250
248
@@ -266,7 +264,6 @@ etc/
266
264
├── conf.d/
267
265
│ ├── clusters.conf.......... MultiCluster Loadbalancing and split clients config
268
266
│ ├── dashboard.conf......... NGINX Plus API and Dashboard config
269
-
│ ├── default-http.conf...... New default.conf config
After a new installation of NGINX Plus, make the following configuration changes:
279
276
280
-
1. Change NGINX's http default server to port 8080. See the included `default-http.conf` file. After reloading nginx, the default `Welcome to NGINX` page will be located at http://localhost:8080.
281
-
282
-
```bash
283
-
cat /etc/nginx/conf.d/default.conf
284
-
# NGINX Loadbalancer for Kubernetes Solution
285
-
# Chris Akker, Apr 2023
286
-
# Example default.conf
287
-
# Change default_server to port 8080
288
-
#
289
-
server {
290
-
listen 8080 default_server; # Changed to 8080
291
-
server_name localhost;
292
-
293
-
#access_log /var/log/nginx/host.access.log main;
294
-
295
-
location / {
296
-
root /usr/share/nginx/html;
297
-
index index.html index.htm;
298
-
}
299
-
300
-
#error_page 404 /404.html;
301
-
302
-
# redirect server error pages to the static page /50x.html
303
-
#
304
-
error_page 500 502 503 504 /50x.html;
305
-
location = /50x.html {
306
-
root /usr/share/nginx/html;
307
-
}
308
-
309
-
### other sections removed for clarity
310
-
311
-
}
312
-
313
-
```
314
-
315
277
1. Use the included nginx.conf file, it enables the NGINX NJS module, for exporting the Plus statistics:
316
278
317
279
```bash
@@ -403,7 +365,7 @@ After a new installation of NGINX Plus, make the following configuration changes
403
365
404
366
# Define Key Value store, backup state file, timeout, and enable sync
@@ -1014,7 +979,7 @@ Here are the instructions to run 2 Docker containers on a Monitor Server, which
1014
979
1015
980
<br/>
1016
981
1017
-
1. Configure your Prometheus server to collect NGINX Plus statistics from the scraper page. Use the prometheus.yml file provided, edit the IP addresses to match your NGINX Loadbalancing Server(s).
982
+
1. Configure your Prometheus server to collect NGINX Plus statistics from the scraper page. You can use the prometheus.yml file provided, edit the IP addresses to match your NGINX Loadbalancing Server(s).
1018
983
1019
984
```bash
1020
985
cat prometheus.yaml
@@ -1033,7 +998,7 @@ Here are the instructions to run 2 Docker containers on a Monitor Server, which
0 commit comments