Fix reproducible frontend Docker deployment

This commit is contained in:
faligam
2026-09-06 16:47:39 +02:00
parent c7b091d1e3
commit 37636e144b
21 changed files with 2799 additions and 85 deletions

View File

@@ -6,6 +6,10 @@
:443 {
handle_path /api/* {
reverse_proxy nsct-api:8080
}
reverse_proxy web:3000
# Security Headers
header {
@@ -29,9 +33,6 @@
encode gzip zstd
# Rate limiting (optional, only if NSCT_RATE_LIMIT is set)
gzip 1
# Rate limiting (optional, only if NSCT_RATE_LIMIT is set)
@hasRateLimit {
expression {env.NSCT_RATE_LIMIT} != ""
}
@@ -46,6 +47,10 @@
# HTTP fallback (when no domain is set)
:80 {
handle_path /api/* {
reverse_proxy nsct-api:8080
}
reverse_proxy web:3000
header {
X-Content-Type-Options nosniff
@@ -57,4 +62,4 @@
encode gzip zstd
}
}
}