Changes:
- add config validation option via Makefile
- add `default-http{,s}-port` commands to add_servers.py
- update add_servers.py to pass generic parameters to servers in templates
- add nginx_conf.d directory usage for more than one custom nginx configurations
- rename `port` and `ssl_port` to `http{,s}_port` for templates
- add `http{,s}_custom_params` to templates
9 lines
247 B
Makefile
9 lines
247 B
Makefile
up:
|
|
# this script only starts nginx, make sure that certbot is launched as well
|
|
docker compose build
|
|
docker compose run --rm --name validate-config --entrypoint "/usr/sbin/nginx" nginx -t
|
|
docker compose up -d nginx
|
|
|
|
down:
|
|
docker compose down
|