# ServiceWorker script evaluation failed due to HTTP (not HTTPS)

**URL:** https://meta.discourse.org/t/serviceworker-script-evaluation-failed-due-to-http-not-https/124800
**Category:** Support
**Created:** [August 3, 2019, 7:19pm UTC](https://meta.discourse.org/t/serviceworker-script-evaluation-failed-due-to-http-not-https/124800 "2019-08-03T19:19:14Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![verilog15](https://avatars.discourse-cdn.com/v4/letter/v/9f8e36/32.png) [@verilog15](https://meta.discourse.org/u/verilog15)
#### Post date: [August 4, 2019, 5:34pm UTC](https://meta.discourse.org/t/serviceworker-script-evaluation-failed-due-to-http-not-https/124800/10 "2019-08-04T17:34:02Z")

</div>

I used the following guide to enable HTTPS: [Set up HTTPS support with Let's Encrypt](https://meta.discourse.org/t/setting-up-https-support-with-lets-encrypt/40709).  
Maybe it’s outdated or maybe I should have used another guide? I set there the env “LETSENCRYPT\_ACCOUNT\_EMAIL”.  
New to rails, so is it possible to explain which run in order to check the value of force\_https?

---

_[View the full topic](https://meta.discourse.org/t/serviceworker-script-evaluation-failed-due-to-http-not-https/124800)._
