Skip to content

Commit 99e27f2

Browse files
authored
Minor fixes and screenshot updates (#20)
* minor config update * instance name update with screenshot * rename files * screenshot update
1 parent 85ea330 commit 99e27f2

24 files changed

+18
-17
lines changed
3.79 KB
Loading

labs/lab2/nginx-plus/etc/nginx/nginx.conf

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ http {
1919
'$status $body_bytes_sent "$http_referer" '
2020
'"$http_user_agent" "$http_x_forwarded_for"';
2121

22+
include /etc/nginx/includes/log_formats/*.conf; # Custom Access logs formats found here
23+
2224
access_log /var/log/nginx/access.log main;
2325

2426
sendfile on;

labs/lab2/readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ You will run some Docker containers to build out various workshop components, us
140140
5cde3c462a27 nginxinc/ingress-demo "/docker-entrypoint.…" 44 minutes ago Up 44 minutes 0.0.0.0:33380->80/tcp, :::33379->80/tcp, 0.0.0.0:33376->443/tcp, :::33375->443/tcp web3
141141
```
142142

143-
Go back to your NGINX One Console Instance page, and click `Refresh`. You should see all 6 of your `basics-` instances appear in the list, and the Online icon should be `green`. If they did not Register with the One Console, it is likely you have an issue with the $TOKEN used, create a new Dataplane Key and try again. It should look similar to this:
143+
Go back to your NGINX One Console Instance page, and click `Refresh`. You should see all 6 of your `one-workshop-` instances appear in the list, and the Online icon should be `green`. If they did not Register with the One Console, it is likely you have an issue with the $TOKEN used, create a new Dataplane Key and try again. It should look similar to this:
144144

145145
![NGINX Instances](media/lab2_none-instances.png)
146146

3.6 KB
Loading
-51.3 KB
Binary file not shown.
Binary file not shown.
-85.6 KB
Binary file not shown.
-105 KB
Binary file not shown.
6.96 KB
Loading
-4.21 KB
Loading

labs/lab3/media/lab3_none-cpu.png

4.38 KB
Loading
-392 Bytes
Loading

labs/lab3/media/lab3_none-network.png

10.9 KB
Loading

labs/lab3/media/lab3_none-ram.png

2.37 KB
Loading
745 Bytes
Loading
52.2 KB
Loading
Loading
85.4 KB
Loading
Loading
Loading

labs/lab3/readme.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ This Panel is a great tool to show you the CVEs that you might have in your NGIN
7878

7979
![CVEs](media/lab3_none-cves.png)
8080

81-
Click on the `basics-plus2` Instance, you should see a list of all the CVEs identified by NGINX One Console CVE scanner. NOTE: *This list may not include ALL CVEs*, rather just the list that NGINX One Console knows about at the time of the last scan.
81+
Click on `one-workshop-plus2` Instance, you should see a list of all the CVEs identified by NGINX One Console CVE scanner. NOTE: *This list may not include ALL CVEs*, rather just the list that NGINX One Console knows about at the time of the last scan.
8282

83-
Basics Plus1 | Basics Plus2
83+
One Workshop Plus1 | One Workshop Plus2
8484
:-------------------------:|:-------------------------:
85-
![Container CVEs](media/lab3_basics-plus1-cves.png) | ![Container CVEs](media/lab3_basics-plus2-cves.png)
85+
![Container CVEs](media/lab3_one-workshop-plus1-cves.png) | ![Container CVEs](media/lab3_one-workshop-plus2-cves.png)
8686

8787
### CPU, RAM, Disk Utilization
8888

@@ -117,13 +117,13 @@ One of the nice security feature of the NGINX One Console is the ability to prov
117117

118118
![High CVEs](media/lab3_none-cves-high.png)
119119

120-
1. Click on the `basics-plus1` Instance. This will provide the Instance level Details, you will see a `CVEs` Section, this time with the Name, Severity and Description for each CVEs applicable to the instance.
120+
1. Click on the `one-workshop-plus1` Instance. This will provide the Instance level Details, you will see a `CVEs` Section, this time with the Name, Severity and Description for each CVEs applicable to the instance.
121121

122-
![Basics-plus1 CVE](media/lab3_basics-plus1-cves.png)
122+
![Basics-plus1 CVE](media/lab3_one-workshop-plus1-cves.png)
123123

124124
1. If you click on one of the CVEs name hyperlink, for example `CVE-2024-39792`, it will directly open the CVE website on a new tab with detailed information and possible remediations.
125125

126-
![High CVE redirect](media/lab3_basics-plus1-cves-redirect.png)
126+
![High CVE redirect](media/lab3_one-workshop-plus1-cves-redirect.png)
127127

128128
1. In similar fashion explore, click on the `Medium` Severity link within the Overview Dashboard and explore all the other CVEs that are classified under `Medium` Severity.
129129

@@ -148,9 +148,9 @@ Another nice feature of the NGINX One Console is the ability to quickly see the
148148

149149
1. Using the Overview Dashboard Certificates Panel, Click on the `Expiring` link. This will provide a List View of the Instances affected, with metadata about the Instances using the Certificate.
150150

151-
1. Click on the `basics-oss1` Instance. This will provide the Instance level Details, you will see a `Certificates` Section, this time with the Name, Status, `Expiration Date`, and Subject Name for each certificate file.
151+
1. Click on the `one-workshop-oss1` Instance. This will provide the Instance level Details, you will see a `Certificates` Section, this time with the Name, Status, `Expiration Date`, and Subject Name for each certificate file.
152152

153-
![Certs](media/lab3_basics-oss1-certs.png)
153+
![Certs](media/lab3_one-workshop-oss1-certs.png)
154154

155155
1. If you Click on the actual certificate file, for example `30-day.crt`, it will give you a List of all the Instances that are using that same certificate.
156156

@@ -185,12 +185,12 @@ Fix the Expired Certificate! If you want to create a new certificate, say with a
185185
1. Once you have made this file edits, you would need to reload nginx within all the NGINX OSS containers to incorporate these configuration changes. To do so run below command in your terminal
186186

187187
```bash
188-
docker exec -it basics-oss1 nginx -s reload
189-
docker exec -it basics-oss2 nginx -s reload
190-
docker exec -it basics-oss3 nginx -s reload
188+
docker exec -it one-workshop-oss1 nginx -s reload
189+
docker exec -it one-workshop-oss2 nginx -s reload
190+
docker exec -it one-workshop-oss3 nginx -s reload
191191
```
192192

193-
The above set of commands would reload nginx in all the three NGINX OSS containers: basics-oss1, basics-oss2 and basics-oss3.
193+
The above set of commands would reload nginx in all the three NGINX OSS containers: one-workshop-oss1, one-workshop-oss2 and one-workshop-oss3.
194194

195195
<br/>
196196

@@ -202,13 +202,13 @@ One of the Best Features of the NGINX ONE Console is the Configuration analysis
202202
- Optimization: NGINX configurations known to provide optimal performance.
203203
- Best Practices: Common configurations that follow standards and conform to ideal configs.
204204

205-
1. From the Overview Dashboard, click on the `Security` and then Click on the `basics-oss1` Instance.
205+
1. From the Overview Dashboard, click on the `Security` and then Click on the `one-workshop-oss1` Instance.
206206

207207
![Config Rec Security](media/lab3_none-config-recommendations.png)
208208

209209
1. Switch view to `Configuration` tab to see the recommendation details. The Recommendations are at the bottom of the screen, and if you look at the config file list, you see small numbers next to each config file that is affected. These are `color-coded`: the Orange numbers are for Security, Blue numbers are for Best Practices, and the Green numbers for for Optimizations.
210210

211-
![Config Recs](media/lab3_basics-oss1-config-colors.png)
211+
![Config Recs](media/lab3_one-workshop-oss1-config-colors.png)
212212

213213
1. If you click on the `cafe.example.com.conf` file, the Recommendations will be shown on the bottom, with details and Line Numbers, so you know which ones are being highlighted.
214214

labs/lab4/media/lab4_csg.png

-238 KB
Loading

labs/lab4/readme.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -309,5 +309,4 @@ This ends lab4.
309309

310310
---
311311

312-
Navigate to ([Lab5](../lab5/readme.md) | [LabGuide](../readme.md))
313-
312+
Navigate to ([LabGuide](../readme.md))

0 commit comments

Comments
 (0)