Sign inSign up

pipp37/nginxcgi2

By pipp37

Updated about 2 years ago

Nginx container with fcgiwrap - new version 2

Image
Web servers
1

10K+

pipp37/nginxcgi2 repository overview

NginxCgi2 - Nginx with fcgiwrap

This is the second version from https://hub.docker.com/r/pipp37/nginxcgi

The image runs bash scripts from cgi.

  • nginx: 1.24.0-bullseye
  • multiarch build

Run - Listen on port 81

docker run -d -p 81:80 pipp37/nginxcgi2

Dockerfile

#FROM nginx:1.13
FROM nginx:1.24.0-bullseye

RUN apt-get clean && apt-get update && apt-get install -y nano spawn-fcgi fcgiwrap wget curl procps liberror-perl liburi-perl && apt-get clean

RUN sed -i 's/www-data/nginx/g' /etc/init.d/fcgiwrap
RUN chown nginx:nginx /etc/init.d/fcgiwrap

#ADD ./vhost.conf /etc/nginx/conf.d/default.conf
WORKDIR /var/www
CMD /etc/init.d/fcgiwrap start  && nginx -g 'daemon off;'

Tag summary

Content type

Image

Digest

sha256:07c6a3821

Size

79.7 MB

Last updated

about 2 years ago

docker pull pipp37/nginxcgi2