bartgryszko / nginx-conf.d

Oversimplified NGINX configuration generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Copy example/config.sh to the directory of your choice. Modify as desired.

When you're ready, run with something like:

$ ./generate.sh /path/to/target/config.sh
$ docker run -d \
	--name nginx \
	-p 80:80 \
	--dns 172.17.42.1 \
	-v /path/to/target:/etc/nginx/conf.d:ro \
	-v /path/to/static/resources/referenced/in/config:/static:ro \
	--restart always \
	nginx
$ sleep 1 # to give it a moment to come up
$ docker logs nginx

About

Oversimplified NGINX configuration generation


Languages

Language:Shell 100.0%