Commit 7a1d2642 authored by Cameron Carney's avatar Cameron Carney

fixed startup problem with nginx

parent 2528c50d
......@@ -68,7 +68,7 @@ services:
- MAIL_DRIVER=mail
- MAIL_EMAIL=admin@localhost
- MAIL_FROM_NAME=Test Panel
image: quay.io/ccarney/pterodactyl-panel:testing
image: quay.io/ccarney/pterodactyl-panel:v0.6.0-rc.1
ports:
- 80:80
- 443:443
......
......@@ -16,7 +16,8 @@ function init {
echo "Starting Pterodactyl ${PANEL_VERSION} in ${STARTUP_TIMEOUT} seconds..."
sleep ${STARTUP_TIMEOUT}
DOMAIN_NAME="$(echo $PANEL_URL | awk -F/ '{print $3}')"
export DOMAIN_NAME="$(echo $PANEL_URL | awk -F/ '{print $3}')"
# Checks if we have SSL enabled or not, and updates the configuration to what is desired.
if [ "${SSL}" == "true" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment