<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
System Status
Announcements
Announcements
Search
Search
Select Language

NGINX Service Status Showing Duplicate MIME Type Error

Access Gateway
Okta Classic Engine
Okta Identity Engine

Overview

When checking on the NGINX service status, a duplicate mime type error shows up:
 

duplicate MIME type "text/html" in /etc/nginx/conf.d/icsgw_app_<id>.active.conf:331


UI settings will also show not validated:

ui error

 

Applies To

  • Okta Access Gateway (OAG)

Cause

"Text/html" appears in the policy advanced section of the app. OAG implies the "text/html" and will see it as a duplicate if it is there in the directive, as it is already configured by default. In this case, there were multiple entries of subs_filter_types text/html;.

Access gateway validation was also failing because of these warnings. The output should be clean in order for validation to be successful.

Solution

  1. Edit the application where subs_filter_types text/html; was added.
  2. Remove the same from the policies advanced section.
  3. Save the application.
Loading
NGINX Service Status Showing Duplicate MIME Type Error | Okta Support