From 01d4002debdbf7062beb555e67ddbaa3a753860f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88?= Date: Sun, 1 Jun 2025 17:11:03 -0400 Subject: [PATCH] feat: adding ai endpoint --- nginx/filesystem/etc/nginx/conf.d/nginx.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nginx/filesystem/etc/nginx/conf.d/nginx.conf b/nginx/filesystem/etc/nginx/conf.d/nginx.conf index 992ca21..fe5b2e4 100644 --- a/nginx/filesystem/etc/nginx/conf.d/nginx.conf +++ b/nginx/filesystem/etc/nginx/conf.d/nginx.conf @@ -80,6 +80,13 @@ server { proxy_set_header X-Forwarded-Port $server_port; } + location /ox-ai { + proxy_pass http://${IP_ADDRESS}:8089; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header X-Forwarded-Port $server_port; + } + # Verification for our SSL certificate with Let's Encrypt location /.well-known { root /usr/share/nginx/html;