This docker image contains httpd with cgi, eruby, php, and python.
This image has embedded sample scripts that can be used to test the deployment of a container, and the running configuration of httpd. This functionality is defined in /etc/apache2/vhost.d/hello
. An autoindex listing of the scripts directory is available under /hello
.
The embedded entrypoint script is located at /etc/entrypoint.d/httpd
and performs the following actions:
- The PKI certificates are generated or imported.
The embedded entrypoint script is located at /etc/entrypoint.d/httpd-cleanup
and performs the following actions:
- The contents under
/run/apache2/
are purged.
/
├─ etc/
│ ├─ apache2/
│ │ └─ vhosts.d/
│ │ └─ hello
│ ├─ entrypoint.d/
│ │ ├─ httpd
│ │ └─ httpd-cleanup
│ ├─ healthcheck.d/
│ │ ├─ apache2
│ │ └─ php
│ └─ supervisor/
│ └─ config.d/
│ ├─ apache2.conf
│ ├─ fcgi.conf
│ └─ php.conf
├─ run/
│ └─ secrets/
│ ├─ httpd.crt
│ ├─ httpd.key
│ └─ httpdca.crt
├─ usr/
│ └─ lib/
│ └─ cgi-bin/
└─ var/
└─ www/
├─ hello/
│ ├─ hello.cgi
│ ├─ hello.erb
│ ├─ hello.html
│ ├─ hello.php
│ ├─ hello.pl
│ ├─ hello.py
│ └─ hello.rb
└─ html/
80/tcp
- insecure httpd listening port.443/tcp
- secure httpd listening port.
None.