Update nginx.conf
Browse files- nginx.conf +9 -0
nginx.conf
CHANGED
@@ -32,4 +32,13 @@ server {
|
|
32 |
proxy_read_timeout 86400;
|
33 |
proxy_redirect off;
|
34 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
}
|
|
|
32 |
proxy_read_timeout 86400;
|
33 |
proxy_redirect off;
|
34 |
}
|
35 |
+
|
36 |
+
location /api {
|
37 |
+
proxy_redirect off;
|
38 |
+
proxy_pass https://geminioai.deno.dev/;
|
39 |
+
proxy_http_version 1.1;
|
40 |
+
proxy_set_header Upgrade $http_upgrade;
|
41 |
+
proxy_set_header Connection "upgrade";
|
42 |
+
proxy_set_header Host $http_host;
|
43 |
+
}
|
44 |
}
|