We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24d7d6a commit 5a93c1dCopy full SHA for 5a93c1d
main/runserver.sh
@@ -9,8 +9,8 @@ python manage.py collectstatic --noinput -l
9
python manage.py make_permissions
10
11
# Add server name(s) to django settings and nginx - later maybe only nginx would be enough, and ALLOWED_HOSTS could be "*"
12
-if [ "$API_FQDN"x = prddsgocdnapi.azureedge.netx ]; then
13
- sed -i 's/\$NGINX_SERVER_NAME/'$API_FQDN' api.go.ifrc.org goadmin.ifrc.org/g' /etc/nginx/sites-available/nginx.conf
+if [ "$API_FQDN"x = goadmin.ifrc.orgx ]; then
+ sed -i 's/\$NGINX_SERVER_NAME/'$API_FQDN' api.go.ifrc.org/g' /etc/nginx/sites-available/nginx.conf
14
else
15
sed -i 's/\$NGINX_SERVER_NAME/'$API_FQDN'/g' /etc/nginx/sites-available/nginx.conf
16
fi
0 commit comments