kopia lustrzana https://github.com/OpenDroneMap/WebODM
Updated readme, webodm.sh
rodzic
24b64b1523
commit
b2739a2789
|
@ -85,7 +85,7 @@ If you want to run WebODM in production, make sure to pass the `--no-debug` flag
|
|||
./webodm.sh down && ./webodm.sh start --no-debug
|
||||
```
|
||||
|
||||
This will disable the `DEBUG` flag from `webodm/settings.py` within the docker container.
|
||||
This will disable the `DEBUG` flag from `webodm/settings.py` within the docker container. This is [really important](https://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-DEBUG).
|
||||
|
||||
### Enable SSL
|
||||
|
||||
|
|
|
@ -175,13 +175,13 @@ start(){
|
|||
echo "If you need to use a different port, you'll need to generate the SSL certificate files separately and use the --ssl-key and --ssl-certificate options."
|
||||
fi
|
||||
export WO_PORT=443
|
||||
fi
|
||||
|
||||
# Make sure we have a hostname
|
||||
if [ "$WO_HOST" = "localhost" ]; then
|
||||
echo -e "\033[91mSSL is enabled, but hostname cannot be set to $WO_HOST. Set the --hostname argument to the domain of your WebODM server (for example: www.mywebodm.org).\033[39m"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Will enable SSL ($method)"
|
||||
fi
|
||||
|
|
Ładowanie…
Reference in New Issue