{"id":40450642,"url":"https://github.com/rtsp/docker-lighttpd","last_synced_at":"2026-01-20T17:17:03.548Z","repository":{"id":39869970,"uuid":"336391361","full_name":"rtsp/docker-lighttpd","owner":"rtsp","description":"lighttpd web server with default config optimized for high traffic frontend website","archived":false,"fork":false,"pushed_at":"2025-12-20T02:01:30.000Z","size":278,"stargazers_count":11,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-22T00:14:21.657Z","etag":null,"topics":["docker","lighttpd","lighttpd-docker"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/rtsp/lighttpd","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rtsp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-02-05T21:18:15.000Z","updated_at":"2025-12-20T02:01:26.000Z","dependencies_parsed_at":"2023-11-18T03:49:58.106Z","dependency_job_id":"0ef53d2e-aabf-4f16-80ed-3a1408657ead","html_url":"https://github.com/rtsp/docker-lighttpd","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/rtsp/docker-lighttpd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtsp%2Fdocker-lighttpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtsp%2Fdocker-lighttpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtsp%2Fdocker-lighttpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtsp%2Fdocker-lighttpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtsp","download_url":"https://codeload.github.com/rtsp/docker-lighttpd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtsp%2Fdocker-lighttpd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","lighttpd","lighttpd-docker"],"created_at":"2026-01-20T17:17:02.891Z","updated_at":"2026-01-20T17:17:03.529Z","avatar_url":"https://github.com/rtsp.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lighttpd Docker Image\n\n- [`lighttpd`](https://www.lighttpd.net/) is a secure, fast, compliant, and very flexible web-server that has been optimized for high-performance environments\n- [`docker-lighttpd`](https://hub.docker.com/r/rtsp/lighttpd) is a lighttpd docker image designed to use as **base image** for building frontend/static web app docker image (e.g. [React](https://reactjs.org/))\n\n## Base Image\n\n- Use `docker-lighttpd` as a base image (`FROM`) and copy your web artifacts to `/var/www/html`\n- Optimized for serving high traffic frontend/static web app\n\n## Useful Info\n\n### Paths\n\n- `/var/www/html` - Document root\n- `/etc/lighttpd/lighttpd.conf` - Entry point of to include configs from `conf.d/*.conf`\n- `/etc/lighttpd/conf.d/`\n  - `00-mime-types.conf` - MIME types definition derived from NGINX `/etc/nginx/mime.types`\n  - `01-server.conf` `05-webroot.conf` `11-access.conf` - Configs derived from the default `lighttpd.conf`\n  - `12-expire.conf` `13-status.conf` `14-rewrite.conf` - Example configs for several use cases\n\nFeel free to replace or modify these config files if required!\n\n### Default Config (lighttpd.conf)\n\n- Run as `lighttpd` user\n- Listen on port `80`\n- No SSL/HTTPS (designed to run behind load balancer or reverse proxy server)\n- No log file writing\n- No Cache-Control header\n\n## Examples\n\n### Dockerize React App (Multi-Stage Build)\n\n```\nFROM node:14 AS builder\n\nCOPY package.json \\\n     package-lock.json \\\n     /usr/web/\n\nWORKDIR /usr/web/\nRUN npm ci\n\nCOPY public/ /usr/web/public/\nCOPY src/ /usr/web/src/\nRUN npm run build\n\nFROM rtsp/lighttpd\nCOPY --from=builder /usr/web/build/ /var/www/html/\n```\n\n### Directly use as Web Server (Volume mount)\n\n```\ndocker run -d \\\n  --name your-webapp \\\n  -v /webapp/dir:/var/www/html:ro \\\n  -p 8080:80 \\\n  rtsp/lighttpd\n```\n\n- Mount /webapp/dir as your web app document root\n- Publish website to port 8080 of Docker host machine.\n- Enter http://localhost:8080\n\n## Links\n\n- [Docker Hub: rtsp/lighttpd](https://hub.docker.com/r/rtsp/lighttpd/)\n- [GitHub: rtsp/docker-lighttpd](https://github.com/rtsp/docker-lighttpd)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtsp%2Fdocker-lighttpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtsp%2Fdocker-lighttpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtsp%2Fdocker-lighttpd/lists"}