Added authorization server and backup of JSReport config. IO-585
This commit is contained in:
65
jsreport/jsreport.config.json
Normal file
65
jsreport/jsreport.config.json
Normal file
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"httpPort": 80,
|
||||
"httpsPort": 443,
|
||||
"certificate": {
|
||||
"key": "/etc/letsencrypt/live/reports.bodyshop.app/privkey.pem",
|
||||
"cert": "/etc/letsencrypt/live/reports.bodyshop.app/fullchain.pem"
|
||||
},
|
||||
"store": {
|
||||
"provider": "fs"
|
||||
},
|
||||
"blobStorage": {
|
||||
"provider": "fs"
|
||||
},
|
||||
"logger": {
|
||||
"console": {
|
||||
"transport": "console",
|
||||
"level": "debug"
|
||||
},
|
||||
"file": {
|
||||
"transport": "file",
|
||||
"level": "info",
|
||||
"filename": "logs/reporter.log"
|
||||
},
|
||||
"error": {
|
||||
"transport": "file",
|
||||
"level": "error",
|
||||
"filename": "logs/error.log"
|
||||
}
|
||||
},
|
||||
"allowLocalFilesAccess": true,
|
||||
"reportTimeout": 60000,
|
||||
"templatingEngines": {
|
||||
"strategy": "http-server"
|
||||
},
|
||||
"extensions": {
|
||||
"authentication": {
|
||||
"cookieSession": {
|
||||
"secret": "imex"
|
||||
},
|
||||
"authorizationServer": {
|
||||
"tokenValidation": {
|
||||
"endpoint": "http://localhost:5000/auth",
|
||||
"timeout": 180000,
|
||||
"sendAsJSON": true,
|
||||
"hint": null,
|
||||
"usernameField": "username",
|
||||
"activeField": "active",
|
||||
"auth": false
|
||||
}
|
||||
},
|
||||
"admin": {
|
||||
"username": "admin",
|
||||
"password": "admin"
|
||||
},
|
||||
"enabled": true
|
||||
},
|
||||
"sample-template": {
|
||||
"createSamples": true
|
||||
},
|
||||
"scripts": {
|
||||
"strategy": "http-server"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user