We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0a4cf2d + d61c68b commit 8e661afCopy full SHA for 8e661af
1 file changed
docs/class4/module2/lab8/lab8.rst
@@ -184,6 +184,24 @@ Copy the certificats
184
sudo chmod 644 /etc/nginx/certs/client.crt
185
sudo chmod 644 /etc/nginx/certs/server_ca.crt
186
187
+* Add your token in the ``Main server`` section
188
+
189
+ .. code-block:: bash
190
191
+ location / {
192
+ proxy_pass http://10.1.20.7:31220;
193
+ proxy_set_header Host $host;
194
195
+ # Add your token below inside the ""
196
+ set $token "<your-token-value>";
197
198
+ js_header_filter main.header_filter;
199
+ js_body_filter main.body_filter;
200
201
+ proxy_set_header Accept-Encoding "";
202
+ }
203
204
205
Update the nginx configuration
206
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
207
0 commit comments