Enable NGINX App Protect on the Arcadia Finance App =================================================== Now you will now enable NGINX App Protect and apply a WAF policy to the Arcadia Finance app. 1. Open **Firefox** and click on the **NIM** bookmark. .. image:: images/nim_bookmark.png 2. Log in using the **lab** / **AppWorld2024!** credentials. Click on the **Instance Manager** tile. .. image:: images/nim_dashboard.png 3. Click on **nginx-plus-2.appworld.lab** instance in the list. .. image:: images/nim_instance_select.png 4. Click on the **Edit Config** button. .. image:: images/nim_instance_edit_config.png 5. Select the **arcadia-financial.conf** file in the navigation pane on the left. .. image:: images/config_nav_pane.png 6. Add the following configuration lines to the **server** block that includes the *listen 443 ssl* directive: .. code-block:: bash app_protect_enable on; app_protect_policy_file "/etc/nms/AppWorldPolicy.tgz"; app_protect_security_log_enable on; app_protect_security_log "/etc/nms/secops_dashboard.tgz" syslog:server=127.0.0.1:514; Your screen should look similar to below: .. image:: images/modified_arcadia-financial_conf.png 7. Click the **Publish** icon in the toolbar in the file editor. .. image:: images/publish_btn.png 8. You will be presented with a confirmation prompt. Click **Publish** to continue. .. image:: images/publish_confirm.png 9. After a few moments, you will see a notification that the configuration was successfully published. If the Publish initially fails, please click Publish and confirm publishing again. .. image:: images/publish_notification.png 10. Click on **App Protect** **Policies** from the menu. .. image:: images/app_protect_nav.png 11. On the list of policies, click on the name **AppWorldPolicy**. .. image:: images/appworld_policy_select.png 12. On this screen, you can see that the policy is applied. .. image:: images/appworld_policy_applied.png