You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
327 B
13 lines
327 B
#!/bin/sh
|
|
|
|
# Exit at first error
|
|
set -e
|
|
|
|
# Fill the varibles in funkwhale.template and put the result in default.conf
|
|
envsubst "`env | awk -F = '{printf \" $$%s\", $$1}'`" < \
|
|
/etc/nginx/conf.d/funkwhale.template > \
|
|
/etc/nginx/conf.d/default.conf
|
|
|
|
cat /etc/nginx/conf.d/default.conf
|
|
|
|
nginx -g 'daemon off;'
|
|
|