-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prototype Thredds verify twitcher #341
base: master
Are you sure you want to change the base?
Conversation
…y twitcher as a proxy
…h" variable' Some changes are probably NOT needed, I just want to get this to run.
Hope the Nginx config files will be loaded in alphabetical order.
E2E Test ResultsDACCS-iac Pipeline ResultsBuild URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/1629/Result : failure BIRDHOUSE_DEPLOY_BRANCH : thredds-verify-twitcher DACCS_CONFIGS_BRANCH : master PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master PAVICS_SDI_BRANCH : master DESTROY_INFRA_ON_EXIT : true PAVICS_HOST : https://host-140-154.rdext.crim.ca PAVICS-e2e-workflow-tests Pipeline ResultsTests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1170/NOTEBOOK TEST RESULTS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tlvu I would go with a different strategy actually. I'd keep the changes up to commit 7706c5d and then add the following line to the nginx configuration (in a separate optional component):
rewrite ^${TWITCHER_PROTECTED_PATH}/thredds/(.*) /thredds/$1 permanent;
This will ensure that the existing paths in the notebooks will still work with a lot fewer complex changes to the code.
I've tested this out and can confirm that the redirect works as intended |
Prototype, not to be merged. PR just for discussion.
I was not able to get the "verify" to work when I keep the old Thredds context-root
/twitcher/ows/proxy/thedds
to avoid breaking all existing notebooks.@mishaschwartz could you check which config I overlooked. I think verify was working initially when the context-root as simply
/thredds
.However I was able to completely bypass Twitcher while keeping
/twitcher/ows/proxy/thedds
as context-root. Search for all changes containing the wordbypass
.