# Como criar Discourse local apenas com http (sem https)?

**URL:** <https://meta.discourse.org/t/how-to-create-local-discourse-with-only-http-no-https/300836>\
**Category:** Self-hosting\
**Created:** [25 Março , 2024 14:40 UTC](https://meta.discourse.org/t/how-to-create-local-discourse-with-only-http-no-https/300836 "2024-03-25T14:40:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Isambard](https://avatars.discourse-cdn.com/v4/letter/i/858c86/32.png) [@Isambard](https://meta.discourse.org/u/Isambard)\
**Post date:** [25 Março , 2024 14:40 UTC](https://meta.discourse.org/t/how-to-create-local-discourse-with-only-http-no-https/300836/1 "2024-03-25T14:40:32Z")

</div>

> [@Discourse setup script hostname validation for Let's Encrypt](https://meta.discourse.org/t/discourse-setup-script-hostname-validation-for-lets-encrypt/141911):
>
> I don’t think that’s the case anymore.

Estou tentando instalar o Discourse no meu laptop para fazer alguns testes antes de fazer alterações na minha versão real. (escrevendo scripts que serão executados na instância docker real)

Meu laptop não tem nome de domínio, então não consigo obter um certificado SSL Let’s Encrypt.

Como se instala uma instância apenas http?

Eu comento as linhas SSL em app.yaml e tento contornar o SSL em `./discourse-setup --skip-connection-test`, mas o bootstrap falha:

```plaintext
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse & su discourse -c 'bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 3649 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake themes:update assets:precompile'"]}
bootstrap failed with exit code 1
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-create-local-discourse-with-only-http-no-https/300836)._
