feat: signoz
This commit is contained in:
parent
dc39e02242
commit
ebcc6e4d2d
4 changed files with 219 additions and 30 deletions
37
docker/signoz/swag/signoz.subdomain.conf
Normal file
37
docker/signoz/swag/signoz.subdomain.conf
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
## -----------------------------------------------------------------------------
|
||||
## 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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue