Skip to content

inetum-orleans/djp-httpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

djp-httpd

A ddb jsonnet package (djp).

Description

Apache Http Server djp package.

Snippet

  • ddb.yml
cookiecutter:
  templates:
    - template: gh:inetum-orleans/djp-httpd
      extra_context:
        httpd_version: "2.4"
  • docker-compose.yml.jsonnet
ddb.Compose(
  ddb.with(
    import '.docker/httpd/djp.libjsonnet',
    params={domain: ddb.domain, vhost: ['/.docker/httpd/vhost.conf']}
  )
)

Parameters

name type description
domain string Description of first parameter
vhost string[] Path to VirtualHost configuration files

Tips

Enable additional modules

You can enable additional modules inside Dockerfile.jinja.

RUN sed -i '/LoadModule proxy_module/s/^#//g' /usr/local/apache2/conf/httpd.conf
RUN sed -i '/LoadModule proxy_http_module/s/^#//g' /usr/local/apache2/conf/httpd.conf
RUN sed -i '/LoadModule rewrite_module/s/^#//g' /usr/local/apache2/conf/httpd.conf

Usage

Please check jsonnet feature to understand how to include a djp package inside a ddb project.

Looking for other djp packages ? Check github repositories starting with djp-.

About

djp package for Apache Httpd Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages