update nginx and env

Signed-off-by: Arvindh <arvindh91@gmail.com>
This commit is contained in:
Arvindh
2026-06-18 13:48:50 +05:30
parent f244040afc
commit 69a280ff0f
4 changed files with 20 additions and 0 deletions
+3
View File
@@ -164,6 +164,9 @@ ATOM_DB_PASSWORD=atom
ATOM_DB_NAME=atom
ATOM_JWT_SECRET=change-me-in-production
ATOM_JWT_EXPIRY_SECS=3600
ATOM_KEY_ENCRYPTION_KEY=6uQzr7tCp9cupO8anzo0i6XtfVocixzIK78lB4o6S3E=
ATOM_KEY_ENCRYPTION_KEY_ID=local:v1
ATOM_ALLOW_PLAINTEXT_SIGNING_KEYS=false
ATOM_ADMIN_SECRET=12345678
ATOM_MIN_PASSWORD_CHARS=8
ATOM_CERTS_ENABLED=true
+3
View File
@@ -81,6 +81,9 @@ services:
ATOM_SMTP_FROM: ${ATOM_SMTP_FROM}
ATOM_SMTP_TLS: ${ATOM_SMTP_TLS}
ADMIN_SECRET: ${ATOM_ADMIN_SECRET}
ATOM_KEY_ENCRYPTION_KEY: ${ATOM_KEY_ENCRYPTION_KEY}
ATOM_KEY_ENCRYPTION_KEY_ID: ${ATOM_KEY_ENCRYPTION_KEY_ID:-local:v1}
ATOM_ALLOW_PLAINTEXT_SIGNING_KEYS: ${ATOM_ALLOW_PLAINTEXT_SIGNING_KEYS:-false}
ATOM_SERVICE_SECRET: ${ATOM_SERVICE_SECRET}
ATOM_CERTS_ENABLED: ${ATOM_CERTS_ENABLED:-true}
ATOM_CERTS_CA_MODE: ${ATOM_CERTS_CA_MODE:-file_root_issuer}
+7
View File
@@ -108,6 +108,13 @@ http {
proxy_pass http://$atom_upstream;
}
# Proxy pass to Atom public certificate endpoints
location ^~ /certs/ {
include snippets/proxy-headers.conf;
add_header Access-Control-Expose-Headers Location;
proxy_pass http://$atom_upstream;
}
# Proxy pass to rule engine service
location ~ "^/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/(rules)" {
include snippets/proxy-headers.conf;
+7
View File
@@ -117,6 +117,13 @@ http {
proxy_pass http://$atom_upstream;
}
# Proxy pass to Atom public certificate endpoints
location ^~ /certs/ {
include snippets/proxy-headers.conf;
add_header Access-Control-Expose-Headers Location;
proxy_pass http://$atom_upstream;
}
# Proxy pass to rule engine service
location ~ "^/([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})/(rules)" {
include snippets/proxy-headers.conf;