You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
how to change set(CTEST_DROP_METHOD "https") to http on production docker instance #2027
ive tried to set app_env to developement however it makes GUI not work - im able to see the top banner and login but nothing passed that - ive tried on both chrome and firefox.
my env file looks like this:
# See app.php in the config/ directory for a description of these variables.
APP_NAME=CDash
APP_ENV=development
#APP_DEBUG=true
APP_KEY=keMCcoZh8NaZ7jfSOGbAgicX2Ch2E9iy
APP_URL=http://cdash-staging.team.aws.company.com
MIX_APP_URL="${APP_URL}"
# The following two variables are only used for docker compose production installations.
SSL_CERTIFICATE_FILE=/home/ubuntu/CDash/ssl/fullchain.pem
SSL_CERTIFICATE_KEY_FILE=/home/ubuntu/CDash/ssl/key.pem
# database.php
DB_DATABASE=cdash
DB_PASSWORD=cdash
QUEUE_CONNECTION=database
my ideal solution would be to have https on access the GUI and be able to receive HTTP submissions
I don't think there's currently a "built-in" way to achieve this with CDash's docker images, but in the past we've achieved this with careful use of apache RewriteRules. Let me see if I can dig up an example for you.
Activity
samikh2020 commentedon Feb 12, 2024
is it possible to run the production docker instance without https?
williamjallen commentedon Feb 12, 2024
You can set
APP_ENVtodevelopment.samikh2020 commentedon Feb 12, 2024
Thanks @williamjallen,
ive tried to set app_env to developement however it makes GUI not work - im able to see the top banner and login but nothing passed that - ive tried on both chrome and firefox.
my env file looks like this:
and im using this command to launch the instance
samikh2020 commentedon Feb 12, 2024
when i use https in the app_url - i do seem to resolve the GUI issues but then the set(CTEST_DROP_METHOD "https") is auto set to https also
samikh2020 commentedon Feb 12, 2024
my ideal solution would be to have https on access the GUI and be able to receive HTTP submissions
williamjallen commentedon Feb 12, 2024
Did you run
npm run prodafter switchingAPP_ENVtodevelopment?samikh2020 commentedon Feb 12, 2024
i destroyed the containers and volumes and launched fresh
zackgalbreath commentedon Feb 12, 2024
I don't think there's currently a "built-in" way to achieve this with CDash's docker images, but in the past we've achieved this with careful use of apache RewriteRules. Let me see if I can dig up an example for you.