Fixes #1322 All browsers require HTTPS for HTTP/2 requests. To enable HTTPS in development: 1. `cd apps/block_scout_web` 2. `mix phx.gen.cert blockscout blockscout.local` 3. Add `blockscout` and `blockscout.local` to your `/etc/hosts` 4. If using Chrome, Enable chrome://flags/#allow-insecure-localhost. In production, use LetsEncrypt or AWS cert infrastructure and set environment variables: * `SSL_CACERT_FILE` * `SSL_CERT_FILE` * `SSL_DHPARAM_FILE` * `SSL_KEY_FILE` https://blog.progressplum.app/ssl-migration-from-nginx-to-cowboy-2-in-phoenix-1-4/ is available as a guide if fronting with nginx.pull/1365/head
parent
815ae97943
commit
c0ddf59634
Loading…
Reference in new issue