Use jinja2 for building nginx config

This commit is contained in:
kaiyou
2017-09-24 13:09:12 +02:00
parent 87cbeacecd
commit 1854349ecc
3 changed files with 75 additions and 0 deletions

5
nginx/start.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
jinja2 /conf/nginx.conf > /etc/nginx/nginx.conf
exec nginx -g 'daemon off;'