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 9255251 commit f84349dCopy full SHA for f84349d
files/root/bin/my-startup.sh
@@ -15,13 +15,16 @@ function log {
15
}
16
17
if [ -n "$SERVER_CONF" ] ; then
18
- log "Getting new server conf"
+ log "Getting new server.conf"
19
+
20
mv /etc/nginx/sites-enabled/server.conf /etc/nginx/sites-enabled/server.bak
21
curl -SL $SERVER_CONF --output /etc/nginx/sites-enabled/server.conf
22
fi
23
24
if [ -n "$GEODB_URL" ] ; then
- log "Updating geo db"
25
+ log "Updating geo DB"
26
27
+ mv /etc/nginx/GeoLiteCity.dat /etc/nginx/GeoLiteCity.bak
28
curl $GEODB_URL | gzip -d - > /etc/nginx/GeoLiteCity.dat
29
30
0 commit comments