Browse Source

Allow disabling SSL

Can be of use for internal instance or behind a reverse-proxy
main
François Charlier 1 year ago
parent
commit
b7a2246bc5
  1. 1
      defaults/main.yml
  2. 2
      templates/config.json.j2

1
defaults/main.yml

@ -30,4 +30,5 @@ hedgedoc_allow_anonymous_edits: true
hedgedoc_allow_anonymous: true
hedgedoc_csp_enable: true
hedgedoc_ssl_enable: true
hedgedoc_hsts_enable: true

2
templates/config.json.j2

@ -17,7 +17,7 @@
"uploadsPath": "./public/uploads",
"domain": "{{ hedgedoc_domain }}",
"port": "{{ hedgedoc_port }}",
"protocolUseSSL": true,
"protocolUseSSL": {{ hedgedoc_ssl_enable | bool | lower }},
"urlAddPort": false,
"allowOrigin": "{{ hedgedoc_allowed_origins }}",
"hsts": {

Loading…
Cancel
Save