Is it possible to install without https and then implement your own ssl from hosting ?
Yes, but that requires not using the
./discourse-setup script and editing your app.yml manually. It is not a recommended setup unless you are familiar and willing to tweak the setup.
Can I edit the file and use the / launcher rebuild ?
Could you explain why the free integrated SSL isn’t an option for you?
And you’re blaming the built-in SSL encapsulation for that?
It has nothing to do with the certificate.
I’m supposed to solve problems in the dark? Forgive me but I’m just learning and it’s hard to learn without making mistakes. I ask questions that are only answered by a question.
No, you’re supposed to ask for help by outlining the problem. It’s much more effective than asking vague questions about guesstimate solutions.
If you want to share more info we can get to the bottom of this relatively quickly.
Trying to set up cdn via cloudfront.
and unfortunately, the page only displays well when it sets the Origin Protocol Policy to HTTP Only . When I enter sitenumbers.cloudfront.net, it displays the page in its entirety (but redirects to to main domain also as well). // Anyway, in this case, the website is still loading even longer than without cdn, so it makes no sense at all.
And I don’t know if it’s caused. That’s why I want to try the forum without ssl.
./discourse-setup will serve http pages if you don’t provide an email address for let’s encrypt. No need to edit by hand.
That is true.
If what you want is a CDN, then you should see Enable a CDN for your Discourse. Disabling http is possible as described above but will almost certainly not solve your problem.
Thanks. I tried to edit the app.yml and use rebuild but the page didn’t turn on. So I understand that in this case you have to install the app again ?
How is that different (discourse-setup vs rebuild ) ? I understand that there are no changes on the site ?
That’s because you did something wrong. It probably has to do with spaces.
If what you want is a CDN, your best bet is probably to
cd /var/discourse docker stop app docker rm app rm containers/app.yml ./discourse-setup
and then follow the instructions in the link I provided earlier.
Thanks to this guide I use it but I have a problem with cloudfront - you write yourself:
CloudFlare CDN and Discourse have not historically played well together, so we do not recommend running CloudFlare CDN at this time.
But I can see that you have the side well set on the cloudfront. So it works, right?
Use whatever CDN you want. Even cloudflare will work fine if you configure it as a CDN and not blindly put it in front of the whole site.
8 posts were split to a new topic: Discourse setup script hostname validation for Let’s Encrypt
Then how am I gonna install ( force working installations) without https and only with http ?
You’ll need to comment out the two lines near the top that turn on let’s encrypt and ssl
#- "templates/web.ssl.template.yml" #- "templates/web.letsencrypt.ssl.template.yml"
But again, I don’t think that doing that will solve anything.
Well, it’s not that simple. Can you tell me how your forums configured cdn with cloudfront ?