Unable to see HTML page content in same window in raw hosted repository in nexus OSS 3

As per the screenshot ( Figure: Maven-Created Sample Site Hosted in a Raw Repository ) under raw-repository page of website (Raw Repositories), click on index.html shows the content of HTML page in same window without downloading.

But I could not achieve this. I have Sonatype Nexus Repository Manager OSS 3.29.2-02. I have a raw hosted repository where I have uploaded a folder containing HTML files. In both browse & HTML listing views, I have to download the file to view content of file.

Am I missing something Or the above image does not hold true in latest nexus version ?

There is a setting in the configuration of raw repositories which controls whether pages can be served or merely downloaded.

Thanks Matthew Piggott. It is working as expected.