Harden production security: Dockerfile build, nginx whitelist, and CSP.
Replace Dokploy runtime git clone with Dockerfile build to keep tokens out of the container, add nginx security headers and path whitelist, and scrub templates from the running image after HTML generation. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -7,3 +7,7 @@ node_modules/
|
||||
.env
|
||||
.venv/
|
||||
docker-compose-example/
|
||||
docker-compose*.yml
|
||||
dev.sh
|
||||
index.html
|
||||
site.webmanifest
|
||||
|
||||
Reference in New Issue
Block a user