Files
lucioandClaude Opus 5.5 c87aad0254 Risk-based robot check with server-issued photo keys
The main page and direct photo links open without a prompt. Each
photo's pool is sealed with its own key, handed out by POST /k
(served by the daemon in serve and export mode). The hold-and-solve
card appears only for low-entropy clicks into a collection, too many
low-entropy landings from one IP, or more than photo_limit photos per
window, with escalating proof-of-work and a 429 cap. Build ids now
sort chronologically within the same second.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 22:45:50 -08:00

20 lines
562 B
Plaintext

server {
listen 443 ssl;
listen [::]:443 ssl;
http2 on;
server_name photos.luciochen.com;
ssl_certificate /etc/letsencrypt/live/photos.luciochen.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/photos.luciochen.com/privkey.pem;
server_tokens off;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Connection "";
proxy_buffering on;
}
}