https://github.com/lyokha/nginx-configure
My simple approach to reproducible Nginx builds configuration
https://github.com/lyokha/nginx-configure
configure dhall nginx
Last synced: 29 days ago
JSON representation
My simple approach to reproducible Nginx builds configuration
- Host: GitHub
- URL: https://github.com/lyokha/nginx-configure
- Owner: lyokha
- License: other
- Created: 2026-05-25T17:34:51.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2026-05-25T23:12:00.000Z (about 1 month ago)
- Last Synced: 2026-05-25T23:24:38.133Z (about 1 month ago)
- Topics: configure, dhall, nginx
- Language: Dhall
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
I often configure Nginx builds on different machines with many custom modules.
Adding modules is only available via command-line options `--add-module` or
`--add-dynamic-module` in script `./configure`. That's why this is so difficult
to achieve reproducible builds everywhere I build Nginx. Here is a very simple
approach to struggle with this difficulty.
#### Requirements
- [*dhall-to-bash*](https://github.com/dhall-lang/dhall-haskell/tree/main/dhall-bash)
executable file. [*Dhall*](https://dhall-lang.org/) is a typed programmable
configuration language. Script *ngx_configure.dhall* contains all Nginx
configuration options needed.
- Sources of the custom modules listed in *ngx_configure.dhall* must have been
put in a single directory, say `$HOME/devel`, before building Nginx. Absence
or unsatisfied dependencies of a module will make `./configure` fail.
#### Configure and build Nginx
- Put *ngx_configure.sh* in a directory listed in `$PATH`.
- Run `ngx_configure.sh $HOME/devel` from the directory with Nginx sources.
- If the configuration was successful, run `make`.