Added a new option for redirecting to https
This commit is contained in:
@@ -47,6 +47,10 @@
|
||||
// port: Port # to configure the express webserver to listen for https requests on
|
||||
// NOTE: Be sure to configure firewalls to allow traffic through this port or the explorer website may not be accessible remotely
|
||||
"port": 443,
|
||||
// always_redirect: Force all explorer traffic to use https
|
||||
// If set to true, all http web requests will automatically be forwarded to https
|
||||
// If set to false, the webserver will allow both http and https traffic
|
||||
"always_redirect": true,
|
||||
// cert_file: The absolute or relative path to the tls certificate file. Typically this file will be generated from certbot (read more: https://certbot.eff.org)
|
||||
"cert_file": "/etc/letsencrypt/live/domain-name-here/cert.pem",
|
||||
// chain_file: The absolute or relative path to the tls chain file. Typically this file will be generated from certbot (read more: https://certbot.eff.org)
|
||||
|
||||
Reference in New Issue
Block a user