[server] mode = "export" listen = "127.0.0.1:8080" base_url = "https://photos.luciochen.com" trusted_proxies = ["127.0.0.1/32", "::1/128"] client_ip_header = "X-Forwarded-For" [paths] albums = "/srv/luphoto/albums" output = "/var/lib/luphoto/site" cache = "/var/cache/luphoto" [images] tile_size = 512 overlap = 1 format = "webp" quality = { top = 90, mid = 88, low = 88 } min_levels = 6 seed_px = 48 tile_names = "hashed" scramble_cells = true min_grid = 3 [loading] budget_ms = 3000 max_dpr = 2.0 concurrency = 6 [build] watch = true debounce = "30s" workers = 2 keep_builds = 3 [protection] block_context_menu = true hotlink_allow = ["photos.luciochen.com"] decoys = 4 gate = "server" pow_bits = 20 photo_limit = 400 min_entropy = 20 landing_limit = 5 window = "10m" pass_ttl = "12h"