bundle/hedgedoc update wbsite check
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
fcb39260c3
commit
3d3994789e
1 changed files with 27 additions and 28 deletions
|
@ -6,29 +6,28 @@ defaults = {
|
|||
},
|
||||
'hedgedoc': {
|
||||
'config': {
|
||||
"production": {
|
||||
"loglevel": "info",
|
||||
"hsts": {
|
||||
"enable": False,
|
||||
},
|
||||
"csp": {
|
||||
"enable": True,
|
||||
"directives": {
|
||||
},
|
||||
"upgradeInsecureRequests": "auto",
|
||||
"addDefaults": True,
|
||||
"addDisqus": False,
|
||||
"addGoogleAnalytics": False
|
||||
},
|
||||
"cookiePolicy": "lax",
|
||||
"db": {
|
||||
"username": "hedgedoc",
|
||||
"password": repo.vault.password_for('{} postgresql hedgedoc'.format(node.name)),
|
||||
"database": "hedgedoc",
|
||||
"host": "localhost",
|
||||
"port": "5432",
|
||||
"dialect": "postgres"
|
||||
},
|
||||
"production": {
|
||||
"loglevel": "info",
|
||||
"hsts": {
|
||||
"enable": False,
|
||||
},
|
||||
"csp": {
|
||||
"enable": True,
|
||||
"directives": {},
|
||||
"upgradeInsecureRequests": "auto",
|
||||
"addDefaults": True,
|
||||
"addDisqus": False,
|
||||
"addGoogleAnalytics": False
|
||||
},
|
||||
"cookiePolicy": "lax",
|
||||
"db": {
|
||||
"username": "hedgedoc",
|
||||
"password": repo.vault.password_for('{} postgresql hedgedoc'.format(node.name)),
|
||||
"database": "hedgedoc",
|
||||
"host": "localhost",
|
||||
"port": "5432",
|
||||
"dialect": "postgres"
|
||||
},
|
||||
'imageUploadType': 'filesystem',
|
||||
'uploadsPath': '/var/opt/hedgedoc',
|
||||
'allowAnonymous': False,
|
||||
|
@ -37,8 +36,8 @@ defaults = {
|
|||
'sessionSecret': repo.vault.password_for('{} hedgedoc sessionSecret'.format(node.name)),
|
||||
'allowEmailRegister': False,
|
||||
'protocolUseSSL': True,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'postgresql': {
|
||||
'roles': {
|
||||
|
@ -118,8 +117,8 @@ def nginx(metadata):
|
|||
'hedgedoc': {
|
||||
'domain': metadata.get('hedgedoc/config/production/domain'),
|
||||
'locations': locations,
|
||||
'website_check_path': '/_matrix/static/',
|
||||
'website_check_string': 'Synapse is running',
|
||||
'website_check_path': '/',
|
||||
'website_check_string': 'HedgeDoc',
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue