Blog Archive for July 29, 2014

Showing .java files in the Browser

July 29, 2014

I have a webserver that serves generated source code - some Java, some Python and some ActionScript. There are also XML schema. This is being served via nginx and each file is downloaded when clicked on.

I wanted to change this so that the file was shown in the browser …