From 3eadca6d85727f87c9769dd56cca6086533f8975 Mon Sep 17 00:00:00 2001 From: koalasat Date: Thu, 8 May 2025 17:53:57 +0200 Subject: [PATCH] Add tn conf --- compose/nginx/tn.conf.d/local.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/compose/nginx/tn.conf.d/local.conf b/compose/nginx/tn.conf.d/local.conf index 9a4b7b2..dd161c4 100644 --- a/compose/nginx/tn.conf.d/local.conf +++ b/compose/nginx/tn.conf.d/local.conf @@ -93,6 +93,14 @@ server { proxy_set_header Host $host; } + location /relay { + proxy_pass http://127.0.0.1:7778; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + proxy_set_header Host $host; + } + location = /favicon.ico { access_log off; log_not_found off; } }