- Add Messages (email) service: backend, frontend, MTA in/out, MPA, SOCKS proxy, worker, DKIM config, and theme customization - Add Collabora deployment for document collaboration - Add Drive frontend nginx config and values - Add buildkitd namespace for in-cluster container builds - Add SeaweedFS remote sync and additional S3 buckets - Update vault secrets across namespaces (devtools, lasuite, media, monitoring, ory, storage) with expanded credential management - Update monitoring: rename grafana→metrics OAuth2Client, add Prometheus remote write and additional scrape configs - Update local/production overlays with resource patches - Remove stale login-ui resource patch from production overlay
36 lines
909 B
YAML
36 lines
909 B
YAML
# nginx config for docs-frontend.
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: docs-frontend-nginx-conf
|
|
namespace: lasuite
|
|
data:
|
|
default.conf: |
|
|
server {
|
|
listen 8080;
|
|
listen 3000;
|
|
server_name localhost;
|
|
|
|
root /app;
|
|
|
|
gzip off;
|
|
sub_filter_once off;
|
|
sub_filter_types text/html application/javascript;
|
|
sub_filter '</head>' '<link rel="stylesheet" href="https://integration.DOMAIN_SUFFIX/api/v2/theme.css"></head>';
|
|
|
|
location / {
|
|
try_files $uri index.html $uri/index.html =404;
|
|
add_header X-Frame-Options DENY always;
|
|
}
|
|
|
|
location ~ "^/docs/[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/?$" {
|
|
try_files $uri /docs/[id]/index.html;
|
|
add_header X-Frame-Options DENY always;
|
|
}
|
|
|
|
error_page 404 /404.html;
|
|
location = /404.html {
|
|
internal;
|
|
}
|
|
}
|