Git Product home page Git Product logo

lighttpd-docker's People

Contributors

alexanderbabel avatar bsherman avatar guzhavinaleksey avatar m-schmoock avatar pniedzwiedzinski avatar spujadas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lighttpd-docker's Issues

Provide docker images with version tag

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.

What is example for redirect call?

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?

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.

docker run with -t

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?

cant find config file

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 enabling deflate.cache-dir error occurs (mod_deflate.c.824) can't stat deflate.cache-dir

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.

The latest update breaks everything

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. 

"/usr/bin/php-cgi" appears to be missing

I'm trying to get php working and am stuck at this problem. Let me write down some info on the setup:

  • in lighttpd.conf i've enabled the modules alias, access and accesslog, and additionally am trying to include "mod_cgi.conf" and "mod_fastcgi.conf".
  • I'm running the latest docker release under sebp/lighttpd in a docker environment, and the webserver is behind an nginx reverse proxy
  • when uncommenting the "include fastcgi" line, the webserver will no longer start, since it's complaining about the php-cgi file missing: (gw_backend.c.1619) invalid "bin-path" => "/usr/bin/php-cgi" (check that file exists, is regular file, and is executable by lighttpd)
  • while the container is running (without including fastcgi in the config), 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.
  • my adjusted lighttpd.conf file is being linked into the container as a file link, instead of the whole config folder as is described in the docker compose section of the README. So the issue is not related to the "mod_fastcgi.conf" file provided by the image being overwritten by the config volume.

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.

restarting the server

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

403 forbidden for php files

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

Effectively dead code in Dockerfile?

Hi! It came to my attention that at …

## workaround for bug preventing sync between VirtualBox and host
# http://serverfault.com/questions/240038/lighttpd-broken-when-serving-from-virtualbox-shared-folder
RUN echo server.network-backend = \"writev\" >> /etc/lighttpd/lighttpd.conf
COPY etc/lighttpd/* /etc/lighttpd/

… 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?

-t flag for the latest sebp/lighttpd container?

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!

docker run --rm -t -v /root/cheng:/var/www/localhost/htdocs -p 8080:80 sebp/lighttpd

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.

ARM Builds missing

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.