mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
docs: fix example secrets
This commit is contained in:
+7
-4
@@ -1,23 +1,26 @@
|
||||
# Replace every replace_with_ value before running. See README.md for secret generation.
|
||||
# Use a different random secret for each setting, except the shared frontend/backend key.
|
||||
# Required Misc. Variables
|
||||
Domain=example.com
|
||||
Https=true
|
||||
AllowedCorsOrigins__0=https://example.com
|
||||
JwtSettings__Secret=totally_random_and_secure_string
|
||||
JwtSettings__Secret=replace_with_a_unique_random_jwt_secret_before_running
|
||||
ConnectionStrings__DefaultConnection=Data Source=/app/data/sharpbin.db
|
||||
|
||||
# Auth Settings
|
||||
# These Turnstile keys are for testing. Use your own site and secret keys in production.
|
||||
AuthSettings__CF_Turnstile_SecretKey=1x0000000000000000000000000000000AA
|
||||
AuthSettings__CF_Turnstile_SiteKey=3x00000000000000000000FF
|
||||
AuthSettings__Registration_Enabled=true
|
||||
AuthSettings__Admins_Require_2FA=true
|
||||
AuthSettings__API_Key_HMAC_Secret=another_random_and_secure_string
|
||||
AuthSettings__API_Key_HMAC_Secret=replace_with_a_unique_random_api_key_hmac_secret_before_running
|
||||
|
||||
# Paste Settings
|
||||
PasteSettings__MaxTitleLength=500
|
||||
PasteSettings__MaxPasteSizeInBytes=1048576
|
||||
PasteSettings__EnablePasteCompression=true
|
||||
PasteSettings__RequiresVerification=true
|
||||
PasteSettings__View_HMAC_Secret=random_minimum_32_char_string
|
||||
PasteSettings__View_HMAC_Secret=replace_with_a_unique_random_view_hmac_secret_before_running
|
||||
# Used so that views are only counted from the frontend
|
||||
# Must be the same on both the frontend and backend environment
|
||||
PasteSettings__View_Internal_API_Key=another_random_minimum_32_char_string
|
||||
PasteSettings__View_Internal_API_Key=replace_with_the_same_random_internal_api_key_in_both_files
|
||||
|
||||
Reference in New Issue
Block a user