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
|
*.o
|
||||||
.gdb_history
|
.gdb_history
|
||||||
config.h
|
config.h
|
||||||
quark
|
dirl
|
|
@ -4,6 +4,6 @@ RUN adduser web --disabled-password --no-create-home --shell /sbin/nologin && \
|
||||||
addgroup web web && \
|
addgroup web web && \
|
||||||
mkdir -p /var/www/html
|
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"]
|
ENTRYPOINT ["dirl", "-p", "80", "-u", "web", "-g", "web", "-n", "4096", "-h", "0.0.0.0", "-l", "-d", "/var/www/html"]
|
||||||
|
|
11
dirl.h
11
dirl.h
|
@ -41,15 +41,8 @@
|
||||||
#define DIRL_FOOTER_DEFAULT \
|
#define DIRL_FOOTER_DEFAULT \
|
||||||
" </table>\n" \
|
" </table>\n" \
|
||||||
" <hr />\n" \
|
" <hr />\n" \
|
||||||
" <p>" \
|
" <p>Served by <a href=\"http://git.friedl.net/incubator/dirl\">dirl</a>" \
|
||||||
"Served by" \
|
" </p>\n" \
|
||||||
" <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>\n" \
|
|
||||||
"</body>\n" \
|
"</body>\n" \
|
||||||
"</html>"
|
"</html>"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue