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.
../../../_images/nim_bookmark.png
  1. Log in using the lab / AppWorld2024! credentials. Click on the Instance Manager tile.
../../../_images/nim_dashboard.png
  1. Click on nginx-plus-2.appworld.lab instance in the list.
../../../_images/nim_instance_select.png
  1. Click on the Edit Config button.
../../../_images/nim_instance_edit_config.png
  1. Select the arcadia-financial.conf file in the navigation pane on the left.
../../../_images/config_nav_pane.png
  1. Add the following configuration lines to the server block that includes the listen 443 ssl directive:
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:

../../../_images/modified_arcadia-financial_conf.png
  1. Click the Publish icon in the toolbar in the file editor.
../../../_images/publish_btn.png
  1. You will be presented with a confirmation prompt. Click Publish to continue.
../../../_images/publish_confirm1.png
  1. 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.
../../../_images/publish_notification.png
  1. Click on App Protect Policies from the menu.
../../../_images/app_protect_nav.png
  1. On the list of policies, click on the name AppWorldPolicy.
../../../_images/appworld_policy_select.png
  1. On this screen, you can see that the policy is applied.
../../../_images/appworld_policy_applied.png