[CORL-646] Docs update (#2648)

* docs: added docs for trust proxy

* fix: adjusted incorrect HTML

- fixes #2656
This commit is contained in:
Wyatt Johnson
2019-10-22 17:01:48 +00:00
committed by GitHub
parent c9381c6367
commit ca10062498
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -58,3 +58,10 @@ the variables in a `.env` file in the root of the project in a simple
, `1 minute`) that should be used to send keep alive messages through the
websocket to keep the socket alive (Default `30 seconds`)
- `TRUST_PROXY` - When provided, it configures the "trust proxy" settings for Express (See https://expressjs.com/en/guide/behind-proxies.html)
## `TRUST_PROXY`
If you are encountering issues where urls in the administration are showing with
a `http` instead of `https`, you may need to set the `TRUST_PROXY` setting.
Refer to https://expressjs.com/en/guide/behind-proxies.html for possible values
of this configuration variable as it pertains to your setup.
+1 -1
View File
@@ -6,7 +6,7 @@ permalink: /v5/integrating/counts/
Add the `count.js` script to your `html` tree. On a page that includes the _Stream Embed_ this is done for you automatically, however for best performance we recommend to include it into the `<head>` tag.
```html
<script href="//{{ CORAL_DOMAIN_NAME }}/assets/js/count.js" defer></script>
<script src="//{{ CORAL_DOMAIN_NAME }}/assets/js/count.js" defer></script>
```
> **NOTE:** Replace the value of `{% raw %}{{ CORAL_DOMAIN_NAME }}{% endraw %}` with the location of your running instance of Coral.