Browse Source

Allow disabling SSL

Can be of use for internal instance or behind a reverse-proxy
pull/1/head
François Charlier 8 months ago
parent
commit
b7a2246bc5
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      defaults/main.yml
  2. +1
    -1
      templates/config.json.j2

+ 1
- 0
defaults/main.yml View File

@ -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

+ 1
- 1
templates/config.json.j2 View File

@ -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