# 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:** Product 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:** 13

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [August 4, 2019, 7:31pm UTC](https://meta.discourse.org/t/serviceworker-script-evaluation-failed-due-to-http-not-https/124800/13 "2019-08-04T19:31:54Z")

</div>

> [@verilog15](#):
>
> New to rails, so is it possible to explain which run in order to check the value of force\_https?

```plaintext
ssh root@your.server.ip
cd /var/discourse
./launcher enter app
rails c
puts SiteSetting.force_https

```

---

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