This commit is contained in:
parent
19e8fad04d
commit
44e56b3280
3 changed files with 4 additions and 11 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
*.o
|
||||
.gdb_history
|
||||
config.h
|
||||
quark
|
||||
dirl
|
|
@ -4,6 +4,6 @@ RUN adduser web --disabled-password --no-create-home --shell /sbin/nologin && \
|
|||
addgroup web web && \
|
||||
mkdir -p /var/www/html
|
||||
|
||||
COPY dirl /usr/local/bin
|
||||
COPY dirl-musl-x86_64 /usr/local/bin/dirl
|
||||
|
||||
ENTRYPOINT ["dirl", "-p", "80", "-u", "web", "-g", "web", "-n", "4096", "-h", "0.0.0.0", "-l", "-d", "/var/www/html"]
|
||||
|
|
9
dirl.h
9
dirl.h
|
@ -41,14 +41,7 @@
|
|||
#define DIRL_FOOTER_DEFAULT \
|
||||
" </table>\n" \
|
||||
" <hr />\n" \
|
||||
" <p>" \
|
||||
"Served by" \
|
||||
" <a href=\"http://tools.suckless.org/quark/\">quark</a>" \
|
||||
" and" \
|
||||
" <a href=" \
|
||||
"\"https://git.friedl.net/playground/suckless-quark/src/branch/dirlist\">" \
|
||||
"dirl" \
|
||||
"</a>" \
|
||||
" <p>Served by <a href=\"http://git.friedl.net/incubator/dirl\">dirl</a>" \
|
||||
" </p>\n" \
|
||||
"</body>\n" \
|
||||
"</html>"
|
||||
|
|
Loading…
Add table
Reference in a new issue