Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1013 Bytes

File metadata and controls

22 lines (14 loc) · 1013 Bytes

apache2-extras

Apache2 with extra enabled modules on top of vicgonco/apache2.

Enabled modules

  • mod_security: Including the CRS (Core Rule Set); all rules activated, SecRuleEngine On, SecResponseBodyAccess Off and SecRequestBodyLimit 52428800 (50MB). Configured following this tutorial.
  • proxy_http.
  • rewrite.

Running

Run detached, exposing port 80 and mounting a custom sites-enabled directory:

docker run -d -p 80:80 -v /path/to/sites-enabled:/etc/apache2/sites-enabled --name=apache2-extras apache2-extras

Get a minimal sites-enabled directory to start with.