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

proxy ssl:false fails the application #80

Open
jagdishadusumalli opened this issue Dec 9, 2024 · 0 comments
Open

proxy ssl:false fails the application #80

jagdishadusumalli opened this issue Dec 9, 2024 · 0 comments

Comments

@jagdishadusumalli
Copy link

jagdishadusumalli commented Dec 9, 2024

I have deployed an rails 8 app on DO with cloudflare
In rails -> production.rb
assume_ssl: true
force_ssl: false

In kamal proxy settings (deploy,yml)
proxy:
healthcheck:
path: /up
interval: 2
timeout: 5
ssl: true
hosts:
- www.mysitesss.info
- mysitesss.info

In Clouflare web panel
SSL = Full
DNS
A mysitesss.info 111.222.333.444 Proxied (Shows SSL Certificate by Google Trust in web browser)
CNAME www mysitesss.info DNS Only (Shows SSL Certificate by LetsEncrypt in web browser)

Both hosts stops working when i do ssl: false In kamal proxy setting (deploy.yml)

I have to turn on the ssl:true for both hosts to work.
I was able to check which cerfticate was getting applied to the host (see the DNS section above)
by turning the cloudflare proxy on for one host and off for other.

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

1 participant