Mercurial > code > home > repos > light-bridge
view proxy.yaml @ 29:35affd4d37d4 default tip
add 1st ikea color light
author | drewp@bigasterisk.com |
---|---|
date | Sat, 14 Dec 2024 22:36:29 -0800 |
parents | fb2e91f230f4 |
children |
line wrap: on
line source
apiVersion: v1 kind: ConfigMap metadata: name: light-bridge-nginx-conf data: nginx.conf: | error_log /dev/stderr; pid /dev/null; events { worker_connections 256; } http { log_format main '[$time_local] code=$status bytes_sent=$bytes_sent req="$request"'; proxy_headers_hash_bucket_size 128; proxy_buffering off; server { access_log off; location = /metrics { proxy_pass http://127.0.0.1:8001/metrics; } location = /light-bridge/metrics { proxy_pass http://127.0.0.1:8001/metrics; } location /light-bridge/api/ { proxy_pass http://127.0.0.1:8001/api/; } location = /light-bridge/vite-ws { proxy_pass http://127.0.0.1:8002/light-bridge/vite-ws; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; } location /light-bridge/ { proxy_pass http://127.0.0.1:8002/light-bridge/; } } }