Commit Graph

7 Commits

Author SHA1 Message Date
sdarbinyan
c7d8ef1295 fix: add CSP/Permissions-Policy to lovero.store and tenant template
Both server blocks were missing Content-Security-Policy and
Permissions-Policy entirely (dexarmarket.ru already had them). This is
defense-in-depth against XSS, not a fix for the underlying issue: the
customer session cookie is still non-HttpOnly and JS-readable, which
only a backend Set-Cookie change can close (BACKEND-API-REFERENCE.md
§12).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-13 07:28:10 +04:00
sdarbinyan
94e59ab878 docs(nginx): clarify SPA fallback and API proxy patterns in onboarding template
Drop the misleading trailing `=404` on try_files (index.html always exists
so it never triggered) and document, inline, the two ways a tenant's
frontend can reach its API (proxied /api vs absolute apiUrl) plus a note
that a 502/504 on refresh/back-navigation for an absolute-apiUrl tenant
(e.g. dexarmarket.ru -> api.dexarmarket.ru:445) is that backend's own
reverse proxy, not this file.
2026-07-14 12:22:21 +04:00
sdarbinyan
c6482f0037 docs: add nginx tenant onboarding template and backend handoff doc
Some checks failed
Architecture Governance / architecture (push) Has been cancelled
Adds a copy-paste server block template for onboarding a new marketplace
domain, and a Sprint 16 backend handoff doc covering the still-missing
draft/publish persistence endpoints, server-side validation expectations,
and the slug/route inconsistency in static-page data.
2026-07-13 16:44:34 +04:00
sdarbinyan
a59ffbcaa4 nginx 2026-07-02 02:22:06 +04:00
sdarbinyan
4aef4881e1 changes 2026-05-19 02:57:19 +04:00
sdarbinyan
0b3b2ee463 changes 2026-03-06 18:40:58 +04:00
sdarbinyan
bd80896886 very first commit 2026-01-18 18:57:06 +04:00