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.
  1. Log in using the lab / AppWorld2024! credentials. Click on the Instance Manager tile.
  1. Click on nginx-plus-2.appworld.lab instance in the list.
  1. Click on the Edit Config button.
  1. Select the arcadia-financial.conf file in the navigation pane on the left.
  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=;

Your screen should look similar to below:

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