aboutsummaryrefslogtreecommitdiffstats
path: root/docker/start-nginx.sh
blob: 5f33847a79d28c7e28d583ec8da69a73f4970528 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
NGINX_CONF=/etc/nginx/sites-enabled/default

if [ "$testapi_url" != "" ]; then
    sed -i "s/server lfnapi:8010/server $testapi_url/" $NGINX_CONF
fi

service supervisor start

tail -f /var/log/supervisor/supervisord.log