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:
+1
-1
@@ -4,7 +4,7 @@
|
||||
#
|
||||
# Po zmianie wartości uruchom: ./dev.sh config (lub ./dev.sh restart)
|
||||
|
||||
# --- Frontend Server ---
|
||||
# --- Frontend Server (TYLKO lokalny dev — nie używaj w Dokploy) ---
|
||||
# Port na hoście (localhost). W kontenerze nginx zawsze nasłuchuje na 80.
|
||||
FRONTEND_PORT=8082
|
||||
|
||||
|
||||
Reference in New Issue
Block a user