プレイグラウンド、サンドボックス、使い捨てスクリプト置き場
0

Configure Feed

Select the types of activity you want to include in your feed.

create lighttpd

Kohei Watanabe (Jan 22, 2023, 9:47 PM +0900) fefb3a82 35ac9c5c

+30
+7
lighttpd/Dockerfile
··· 1 + FROM alpine AS lighttpd 2 + RUN apk --no-cache add lighttpd 3 + FROM scratch 4 + COPY --from=lighttpd /usr/sbin/lighttpd /usr/sbin/ 5 + COPY --from=lighttpd /lib /lib 6 + COPY --from=lighttpd /usr/lib /usr/lib 7 + WORKDIR /var/tmp
+10
lighttpd/compose.yml
··· 1 + services: 2 + lighttpd: 3 + image: kou029w/lighttpd 4 + build: "." 5 + volumes: 6 + - "./lighttpd:/etc/lighttpd" 7 + - "./srv:/srv" 8 + ports: 9 + - "8080:80" 10 + command: lighttpd -Df /etc/lighttpd/lighttpd.conf
+3
lighttpd/lighttpd/lighttpd.conf
··· 1 + server.document-root = "/srv" 2 + mimetype.assign = (".html" => "text/html") 3 + index-file.names = ("index.html")
+10
lighttpd/srv/index.html
··· 1 + <!DOCTYPE html> 2 + <html lang="ja"> 3 + <head> 4 + <meta charset="UTF-8" /> 5 + <title>ぐだぽよー</title> 6 + </head> 7 + <body> 8 + ぐだぽよー 9 + </body> 10 + </html>