brupm (owner)

Revisions

gist: 220177 Download_button fork
public
Public Clone URL: git://gist.github.com/220177.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
    # check for index.html for directory index
    # if its there on the filesystem then rewite
    # the url to add /index.html to the end of it
    # and then break to send it to the next config rules.
    if (-f $request_filename/index.html) {
      rewrite (.*) $1/index.html break;
    }