Skip to content

Commit 8e661af

Browse files
authored
Merge pull request #243 from f5devcentral:nginx-apid
token
2 parents 0a4cf2d + d61c68b commit 8e661af

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

docs/class4/module2/lab8/lab8.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,24 @@ Copy the certificats
184184
sudo chmod 644 /etc/nginx/certs/client.crt
185185
sudo chmod 644 /etc/nginx/certs/server_ca.crt
186186
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+
187205
Update the nginx configuration
188206
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
189207

0 commit comments

Comments
 (0)