-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced file-browser's Caddy with lighttpd
- Loading branch information
Showing
4 changed files
with
14 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
FROM caddy:2.6.1-alpine | ||
FROM alpine:3.19 | ||
LABEL org.opencontainers.image.source https://github.com/offspot/container-images | ||
|
||
RUN mkdir -p /data | ||
COPY config.json /config/caddy/autosave.json | ||
RUN apk add --no-cache lighttpd \ | ||
&& mkdir -p /data | ||
|
||
CMD ["caddy", "run", "--resume"] | ||
COPY lighttpd.conf /etc/lighttpd/lighttpd.conf | ||
|
||
EXPOSE 80 | ||
CMD ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
server.document-root = "/data" | ||
index-file.names = ( "index.html", "index.txt", "index" ) | ||
dir-listing.activate = "enable" | ||
dir-listing.encoding = "utf-8" | ||
dir-listing.sort = "disable" | ||
dir-listing.cache = ( "path" => "/var/cache", "max-age" => 600 ) |