2024-09-25 13:37:32 -05:00
|
|
|
# where to cache nostr events
|
|
|
|
# can be in-memory, redis:// or sqlite://
|
|
|
|
CACHE_PATH="in-memory"
|
|
|
|
|
2024-09-26 12:48:13 -05:00
|
|
|
# A list of relays to find users relay lists (10002) and blossom servers (10063)
|
|
|
|
LOOKUP_RELAYS=wss://user.kindpag.es,wss://purplepag.es
|
|
|
|
|
|
|
|
# A list of nostr relays to listen to for new nsite events
|
|
|
|
SUBSCRIPTION_RELAYS=wss://nos.lol,wss://relay.damus.io
|
2024-09-07 16:40:16 -05:00
|
|
|
|
|
|
|
# A list of fallback blossom servers
|
2024-12-18 09:53:29 -06:00
|
|
|
BLOSSOM_SERVERS=https://nostr.download,https://cdn.satellite.earth
|
2024-09-07 16:40:16 -05:00
|
|
|
|
|
|
|
# The max file size to serve
|
|
|
|
MAX_FILE_SIZE='2 MB'
|
2024-09-25 13:37:32 -05:00
|
|
|
|
2025-01-22 08:51:46 -06:00
|
|
|
# The cache folder for nginx
|
2024-09-26 12:48:13 -05:00
|
|
|
NGINX_CACHE_DIR='/var/nginx/cache'
|
2024-10-04 11:46:17 -05:00
|
|
|
|
2025-01-22 08:51:46 -06:00
|
|
|
# Screenshots require Puppeteer to be setup https://pptr.dev/troubleshooting#setting-up-chrome-linux-sandbox
|
2024-10-04 11:46:17 -05:00
|
|
|
ENABLE_SCREENSHOTS="false"
|
2024-10-07 11:18:23 -05:00
|
|
|
SCREENSHOTS_DIR="./screenshots"
|
2024-10-06 10:01:15 -05:00
|
|
|
|
|
|
|
# If this is set, nsite will return the 'Onion-Location' header in responses
|
|
|
|
# ONION_HOST=https://<hostname>.onion
|
2024-10-07 11:18:23 -05:00
|
|
|
|
|
|
|
# Use a proxy auto config
|
|
|
|
# PAC_PROXY="file:///path/to/proxy.pac"
|
|
|
|
|
|
|
|
# Or set tor and i2p proxies separately
|
|
|
|
# I2P_PROXY="127.0.0.1:4447"
|
|
|
|
# TOR_PROXY="127.0.0.1:9050"
|