spujadas / lighttpd-docker Goto Github PK
View Code? Open in Web Editor NEWDocker image for lighttpd, a secure, fast, compliant, and flexible web server
License: MIT License
Docker image for lighttpd, a secure, fast, compliant, and flexible web server
License: MIT License
Hi! The description at https://hub.docker.com/r/sebp/lighttpd still reads lighttpd is a secure, fast, compliant, and flexible web server (lighttpd/1.4.54-r0)
i.e. the version 1.4.54-r0
has not been updated.
The latest issue #8 broke our pipeline in production: as the docker images are only tagged with latest
we always have to use the latest greatest.
The request is to have release versions and have the docker images tagged with these versions.
HI,
I have one virtualhost running on lighthttp (LDAP based), but i want to add another virtualhost in existing http.conf where i want to redirect to one url (using existing and same port).
please share.
Are the default config files in the git repo still accurate? They haven't been updated in years and the values also don't seem to match the documentation at redmine.lighttpd.net. I'd like to use this image with custom config files but I'm thrown off on if I can simply use lighttpd's documentation to create my config files or if I should be using the years out of date config files in this git repo as the first step to craft my own custom config.
when i change docker run -d to -t in your README, the command prompt does not run. does it -it and add sh if I want to return an command prompt for login to container?
first , thanks for this image .
not able to find file /etc/lighttpd/lighttpd.conf is it on local host.
also when i try to connect to the console using portainer it fails to connect
When I use default value
deflate.cache-dir = var.statedir + "/cache/compress"
and by default
var.statedir points to "/var/lib/lighttpd"
the folder /var/lib/lighttpd does not exists
/ # ls -al /var/lib
total 20
drwxr-xr-x 5 root root 4096 May 23 2022 .
drwxr-xr-x 1 root root 4096 Jul 17 2022 ..
drwxr-xr-x 2 root root 4096 May 23 2022 apk
drwxr-xr-x 2 root root 4096 May 23 2022 misc
drwxr-xr-x 2 root root 4096 May 23 2022 udhcpd
/ #
and that causes startup failure
(mod_deflate.c.824) can't stat deflate.cache-dir /var/lib/lighttpd/cache/compress: Permission denied
2023-01-19 20:38:28: (server.c.1572) Configuration of plugins failed. Going down.
Hi there!
It seems like the latest PR breaks all services for me
chmod: /dev/pts/0: No such file or directory
2019-06-21 20:24:14: (server.c.748) opening errorlog '/dev/pts/0' failed: Permission denied
2019-06-21 20:24:14: (server.c.1518) Opening errorlog failed. Going down.
Thank you for this image.
Are there any plans on providing the ability to add plugins to this image? I have several plugins I use with my lighttpd.
Thank you.
Anyway to mount the files under a separate user?
I mount this dirs:
/etc/lighttpd
/var/www/localhost/htdocs
But i like to specify a uid & gid
I'm trying to get php working and am stuck at this problem. Let me write down some info on the setup:
(gw_backend.c.1619) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd)
docker exec lighttpd ls /usr/bin | grep php
returns nothing. I've also checked the ungrepped list of things, and there is no php-cgi link/file.i've considered downloading the php-cgi file from an AUR or whatever the official source is and linking it into /usr/bin directly, but that seems so sloppy and prone to issues that I didn't dare to try. Is this behaviour intended? Am I missing something obvious? I've searched the web far and wide and was not able to find anything helpful on this, since nothing is related to the docker image. I hope you can swiftly assist me here.
Thanks in advance.
not able to restart the server forcing me to restart the image everytime i change something in the log
i want to log to server.error.log to /var/log/lighttpd/error.log
/var/log # /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf restart
2020-03-16 22:55:02: (network.c.307) can't bind to socket: 0.0.0.0:80 Address in use
i have enable the following mods
"mod_rewrite",
"mod_redirect",
"mod_access",
"mod_setenv",
instALLED PHP
HP 7.3.15 (cli) (built: Feb 26 2020 22:04:59) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.15, Copyright (c) 1998-2018 Zend Technologies
my phpinfo() files is on localhost in /opt/lighttpd a nd i am now getting 403 forbidden
Hi! It came to my attention that at …
Lines 12 to 16 in 3cfc6cf
… file /etc/lighttpd/lighttpd.conf
is extended and then overritten by COPY etc/lighttpd/* /etc/lighttpd/
. Unless I am missing soemthing, the RUN
line can be dropped. True?
Why do we need this in the script?
Line 3 in f1bc14f
Hi Seb,
May I know if the latest sebp/lighttpd requires a different docker run parameter to start successfully? I added the -t flag, but still have the following error. Thanks!
chmod: /dev/pts/0: No such file or directory
2021-11-09 05:13:07: configfile.c.1290) opening errorlog '/dev/pts/0' failed: Permission denied
2021-11-09 05:13:07: server.c.1509) Opening errorlog failed. Going down.
Hi,
after the latest build there are only amd64 builds available. All other systems are missing. I don't know whats the problem but maybe the Docker Workflow overwrites the Github Workflow results?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.