-
Notifications
You must be signed in to change notification settings - Fork 35
SERVER Json_Http_Server
nicol edited this page Jan 9, 2025
·
38 revisions
- File Location : $USER_HOME/.magicDeskCompanion/server/Json Http Server.conf
- Category : SERVER
- Version : 3.0.1
- Status : STABLE
- Need Authenticator : No
Key | Description | Type | Default Value | Allowed Values |
---|---|---|---|---|
AUTOSTART | Run server at startup | Boolean | false | true false |
Access-Control-Allow-Origin | fill the Access-Control-Allow-Origin header | Text | * | |
THREADS | Max thread to run | Number | 8 | Any value between 0 and 8 |
ENABLE_SSL | set to true if you want to set the server on https. Need to feel the Keystore fields | Boolean | false | true false |
INDEX_ROUTES | set to true to enable endpoints visibility on index page | Boolean | true | true false |
KEYSTORE_PASS | password to open the keystore | Text | changeit | |
Access-Control-Allow-Headers | Fill the Access-Control-Allow-Headers header | Array | Content-Type,Authorization,X-Requested-With,Content-Length,Accept,Origin | |
ENABLE_GZIP | set to true to compress stream returned by the server | Boolean | true | true false |
KEYSTORE_URI | File where are stored certificates | Text | $USER_HOME/.magicDeskCompanion\data\jetty.jks | |
Access-Control-Request-Method | allow http request method, separated by comma | Array | GET,PUT,POST,DELETE,OPTIONS | GET PUT POST DELETE OPTIONS |
BLOCKED_IPS | blocked IP. will return 403. Separated by comma | Text | ||
JWT_SECRET | JWT server secret token | Text | mguq+QYqP6eyMXq72nBjVJI+Uc9dU7GNhtlYUYMU6B8= | |
SERVER-PORT | listening port for webserver | Number | 8080 | Any value > 80 |
PRETTY_PRINT | set to true if you want to print human readable json. Set to false in production | Boolean | false | true false |
TIMEOUT_CACHE_MINUTES | Timeout in minute for server cache management | Number | 720 | Any value > 0 |
JWT_EXPIRATION_MINUTES | Expiration of the user token in minute | Number | 60 | Any value > 1 |
JWT_REFRESH_EXPIRATION_MINUTES | Expiration of the user refresh token in minutes | Number | 21600 | Any value > 2 |
Cards
Decks
Game
Collection
Stock
- define default stock item
- import cards
- export cards
- Estimate my stock
- Get grading information
- Mass modification tools
Sealed
Alerts
Dashboard
Shops
- Create your transaction
- import orders
- Manage contacts
- Manage your external webshop DEV
- Configure your embbeded webshop
Builder
News
Scripting
Announces
Chat
Servers
- Rest Backend Server
- Website Servers
- Discord bot Server
- Prices Manager Server
- Automate Server
- Community Server
- Technical Servers
Tools
Administration