curated_compose/docker/signoz/swag/signoz.subdomain.conf

38 lines
1.2 KiB
Text
Raw Normal View History

2026-06-16 11:20:25 -04:00
## -----------------------------------------------------------------------------
## SWAG proxy config for SigNoz
## Domain: signoz.ld50.xyz
## Upstream: signoz:3301 (shared Docker network: ${NETWORKS_EXTERNAL_NAME:-swag})
##
## Install:
## 1) Copy this file into SWAG: /config/nginx/proxy-confs/signoz.subdomain.conf
## 2) Ensure both stacks share the same external Docker network (e.g. `swag`).
## 3) In curated_compose/signoz/compose.yaml, uncomment the swag network + service attachment.
## 4) Reload SWAG.
## -----------------------------------------------------------------------------
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name signoz.ld50.xyz;
include /config/nginx/ssl.conf;
location / {
include /config/nginx/proxy.conf;
set $upstream_app signoz;
set $upstream_port 3301;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
# SigNoz UI uses WebSocket for live query results
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
}
}