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/class4/module2/lab8/lab8.rst
+41-2Lines changed: 41 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,11 +120,13 @@ Download the certificates
120
120
121
121
.. image:: ../pictures/3rd-udf-upload.png
122
122
:align:left
123
+
:scale:50%
123
124
124
125
* Upload your zip file from this website. It will be uploaded into the Nginx instance.
125
126
126
127
.. image:: ../pictures/3rd-upload-site.png
127
128
:align:left
129
+
:scale:70%
128
130
129
131
130
132
Enable API Disovery and Download the token
@@ -144,12 +146,15 @@ Enable API Disovery and Download the token
144
146
.. note:: You have finished the configuration on the F5 Distributed Cloud side, now you need to configure the JS module on the Nginx side to start sending logs to the CE and see API Discovery in action.
145
147
146
148
Configure the Nginx instance
147
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
149
+
----------------------------
148
150
149
-
.. note:: The Nginx instance is already pre-configured to avoid to many copy-paste between this lab guide and the SSH session. You will just adapt the configuration to collect the logs from Nginx application and forward the logs to the CE.
151
+
.. note:: The Nginx instance is already pre-configured to avoid too many copy-paste between this lab guide and the SSH session. You will just adapt the configuration to collect the logs from Nginx application and forward the logs to the CE.
150
152
151
153
* SSH or WEBSSH to the Nginx instance
152
154
155
+
Copy the certificats
156
+
^^^^^^^^^^^^^^^^^^^^
157
+
153
158
* Copy the certificates zip file into /home/ubuntu directory and unzup it
154
159
155
160
.. code-block:: bash
@@ -169,4 +174,38 @@ Configure the Nginx instance
169
174
sudo chmod 644 /etc/nginx/certs/client.crt
170
175
sudo chmod 644 /etc/nginx/certs/server_ca.crt
171
176
177
+
Update the nginx configuration
178
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
179
+
180
+
* Modify the nginx.conf file
181
+
182
+
.. code-block:: bash
183
+
184
+
sudo nano /etc/nginx/nginx.conf
185
+
186
+
.. note:: Have a look on the nginx.conf file, and check the blocks that are already configured for you. I added comments so you can understand them.
187
+
188
+
.. note:: Block Upstream obelix -> this is the CE
189
+
190
+
.. note:: Block Server 8080 -> website to upload the certificates
191
+
192
+
.. note:: Block Server 80 -> the Nginx LB proxying the sentence application
193
+
194
+
.. note:: Block Server 18080 -> the API Discovery configuration to collect the logs, format them, and send them to the CE.
195
+
196
+
* At the end of the file, ``uncomment`` those 5 lines. Ctrl+X to exit, Y to save and Enter to confirm.
0 commit comments