web: add ability to redirect HTTP traffic to HTTPS

Useful if you're running this setup directly on the Internet, with a
Let's Encrypt certificate.
This commit is contained in:
Saúl Ibarra Corretgé
2018-11-07 14:27:22 +01:00
parent fcf83859e4
commit cda11bc52f
4 changed files with 9 additions and 0 deletions

View File

@@ -161,6 +161,7 @@ Variable | Description | Default value
`JIGASI_PORT_MIN` | Minimum port for media used by Jigasi | 20000
`JIGASI_PORT_MAX` | Maximum port for media used by Jigasi | 20050
`DISABLE_HTTPS` | Disable HTTPS, this can be useful if TLS connections are going to be handled outside of this setup | 1
`ENABLE_HTTP_REDIRECT` | Redirects HTTP traffic to HTTPS | 1
### Running on a LAN environment