Files
simple-object-server/testing/sos_config.json.example
Your Name 8ab6028597
Some checks failed
Build-Test-Publish / build (linux/amd64) (push) Failing after 22s
Build-Test-Publish / build (linux/arm64) (push) Failing after 32s
Build-Test-Publish / create-manifest (push) Has been skipped
test: Add 8 and update 14 files
2025-08-10 21:18:40 +12:00

21 lines
727 B
JSON

{
"write_tokens": [
"REPLACE_WITH_BCRYPT_HASH_1",
"REPLACE_WITH_BCRYPT_HASH_2",
"REPLACE_WITH_BCRYPT_HASH_3"
],
"_comment": "Tokens should be bcrypt hashes. Generate with: ./output/hash_token YOUR_SECRET_TOKEN",
"_example_hash": "$2b$12$7d5c2e5f4a3b1e9f8c7b6a5d4e3f2a1b9c8d7e6f5a4b3c2d1e9f8a7b6c5d4e3f",
"rate_limiting": {
"auth_rate_limit": 5,
"auth_window_seconds": 300
},
"port": 7703,
"host": "127.0.0.1",
"cors": {
"allowed_origins": ["https://yourdomain.com"],
"allowed_methods": ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
"allowed_headers": ["Content-Type", "Authorization"],
"allow_credentials": false
}
}