fix: harden production flows and user messaging
This commit is contained in:
1 parent
52dce168dd
commit
86dfe8053d
43 files changed
+3520
-358
No files matched your search
@@ -52,6 +52,7 @@ When placing Nginx or Traefik in front of the portal:
|
||||
```
|
||||
2. **Body Size Limits**: Unused (portal handles photo downloads only, not uploads).
|
||||
3. **Security Headers**: Managed by Next.js (`next.config.ts`), including restrictive CSP, frame denial (`DENY`), and strict Referrer-Policy.
|
||||
4. **Client-IP headers**: The portal accepts the proxy-appended final hop of `X-Forwarded-For` (the normal Zoraxy/Go reverse-proxy path) and alternatively `X-Real-IP` for abuse protection. Keep the application port unreachable from the public network so clients cannot bypass the trusted proxy. If a proxy sets `X-Real-IP`, it must overwrite rather than pass through a public client value.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user