Skip to content
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

allow HTTP-only mode #268

Closed
rbos opened this issue Jun 27, 2022 · 5 comments
Closed

allow HTTP-only mode #268

rbos opened this issue Jun 27, 2022 · 5 comments

Comments

@rbos
Copy link

rbos commented Jun 27, 2022

Our infrastructure has a lot of VMs behind a load-balancer, and our IT policy requires that SSL certs be handled on the LB.

Is it possible to force ISLE to use only HTTP on port 80? It is not obvious how to set that up.

@DonRichards
Copy link
Member

Pointing to the Slack discussion on this https://islandora.slack.com/archives/C019U12D44Q/p1656345103603689

I think Tom's suggestion of removing Trafik's redirect should be all that's needed to get it to work correctly. I have not tested this.

@rbos
Copy link
Author

rbos commented Jun 29, 2022

It didn't seem to work when I tried it (I was the one in the Slack discussion), but maybe I did something wrong. Can you amplify on what lines exactly I should remove?

@rosiel
Copy link
Contributor

rosiel commented Jul 6, 2022

Have you had any luck with this since your last comment?

@rbos
Copy link
Author

rbos commented Jul 6, 2022

Sorry, haven't had much time to look at it between other projects. It's a bit low on the list at the moment.

@rbos
Copy link
Author

rbos commented Jul 5, 2023

This kills all redirects and forces it to listen only on port 80. Figured it out ages ago. It should still be a configuration option, but this hack does the trick.

# kill the redirect and listen from port 443, use 80 entirely
cd /opt/isle-dc/build/docker-compose/;
grep -l redirectscheme * | while read i; do sed -i /redirectscheme/d $i;done
grep -l :443 * | while read i; do sed -i /:443/d $i;done

@rbos rbos closed this as completed Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants