ANNOUNCE: Bootstrap-based directory indexes for nginx
Can't remember if I'd announced this before. Anyway, here's a useful project that I did a few years ago, that works well on Slackware:
https://github.com/duganchen/ngx-responsiveindex Clone it, and then build nginx from the SBo SlackBuild with: Code:
ADDMODULE=/path/to/ngx-responsiveindex ./nginx.SlackBuild Code:
autoindex Code:
responsiveindex For example, here's a block to serve up user-directories at ~/www: Code:
location ~ ^/~(.+?)(/.*)?$ { |
All times are GMT -5. The time now is 09:21 PM. |