Skip to content

Commit 01d4002

Browse files
feat: adding ai endpoint
1 parent 81e7c07 commit 01d4002

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

nginx/filesystem/etc/nginx/conf.d/nginx.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ server {
8080
proxy_set_header X-Forwarded-Port $server_port;
8181
}
8282

83+
location /ox-ai {
84+
proxy_pass http://${IP_ADDRESS}:8089;
85+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
86+
proxy_set_header X-Forwarded-Proto $scheme;
87+
proxy_set_header X-Forwarded-Port $server_port;
88+
}
89+
8390
# Verification for our SSL certificate with Let's Encrypt
8491
location /.well-known {
8592
root /usr/share/nginx/html;

0 commit comments

Comments
 (0)