summaryrefslogtreecommitdiffstats
path: root/docker/start-nginx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/start-nginx.sh')
-rwxr-xr-xdocker/start-nginx.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/start-nginx.sh b/docker/start-nginx.sh
index c9949be..5f33847 100755
--- a/docker/start-nginx.sh
+++ b/docker/start-nginx.sh
@@ -1,8 +1,8 @@
#!/bin/bash
-FILE=/etc/nginx/sites-enabled/default
+NGINX_CONF=/etc/nginx/sites-enabled/default
if [ "$testapi_url" != "" ]; then
- sed -i "s/server localhost:8010/server $testapi_url/" $FILE
+ sed -i "s/server lfnapi:8010/server $testapi_url/" $NGINX_CONF
fi
service supervisor start