MarvAmBass / docker-apache2-ssl-secure

MOVED TO: https://github.com/ServerContainers/apache2-ssl-secure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Important

Check the new and still maintained version of this repo: https://github.com/ServerContainers/apache2-ssl-secure

apache2 - (marvambass/apache2-ssl-secure) (+ optional tls & php) on debian [x86 + arm]

maintained by MarvAmBass

What is it

This Dockerfile (available as marvambass/apache2-ssl-secure) gives you a ready to use secured production apache2 server, with php and good configured optional SSL.

View in Docker Registry marvambass/apache2-ssl-secure

View in GitHub MarvAmBass/docker-apache2-ssl-secure

This Dockerfile is based on the /_/debian:buster/ Official Image.

Changelogs

  • 2021-08-09
    • complete rework
    • added php, made tls optional
    • healthchecks
    • runit as service mangaer
    • multiarch build

should still be compatible with the old legacy version of this container

Environment variables and defaults

  • DISABLE_TLS

  • default: not set - if set yo any value https and the HSTS_HEADERS_* will be disabled

  • HSTS_HEADERS_ENABLE

  • default: not set - if set to any value the HTTP Strict Transport Security will be activated on SSL Channel

  • HSTS_HEADERS_ENABLE_NO_SUBDOMAINS

  • default: not set - if set together with HSTS_HEADERS_ENABLE and set to any value the HTTP Strict Transport Security will be deactivated on subdomains

Running marvambass/apache2-ssl-secure Container

This Dockerfile is not really made for direct usage. It should be used as base-image for your apache2 project. But you can run it anyways.

You should overwrite the /etc/apache2/external/ with a folder, containing your apache2 *.conf files (VirtualHosts etc.) and certs.

docker run -d \
-p 80:80 -p 443:443 \
-v $EXT_DIR:/etc/apache2/external/ \
marvambass/apache2-ssl-secure

About

MOVED TO: https://github.com/ServerContainers/apache2-ssl-secure

License:MIT License


Languages

Language:Shell 68.6%Language:Dockerfile 31.4%