Draft
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.
Collaborator
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 |
Collaborator
mishaschwartz
left a comment
There was a problem hiding this comment.
@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.
Collaborator
I've tested this out and can confirm that the redirect works as intended |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/theddsto 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/theddsas context-root. Search for all changes containing the wordbypass.