mirror of
https://github.com/nexu-io/open-design.git
synced 2026-05-31 19:04:39 +07:00
docs(deploy): keep Azure proxy streams unbuffered
This commit is contained in:
parent
b7c979e35f
commit
4270bea576
1 changed files with 8 additions and 1 deletions
|
|
@ -89,6 +89,13 @@ server {
|
|||
proxy_set_header Authorization "Bearer <OD_API_TOKEN>";
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Connection "";
|
||||
proxy_buffering off;
|
||||
proxy_cache off;
|
||||
proxy_read_timeout 1h;
|
||||
proxy_send_timeout 1h;
|
||||
gzip off;
|
||||
proxy_pass http://open_design_aci;
|
||||
}
|
||||
|
||||
|
|
@ -100,7 +107,7 @@ server {
|
|||
}
|
||||
```
|
||||
|
||||
Replace `<aci-fqdn>` with `ACI_FQDN`, replace `<OD_API_TOKEN>` with the same secret passed to the Bicep deployment, and keep `BROWSER_ORIGIN` equal to the origin served by the proxy. After the proxy is configured, open `BROWSER_ORIGIN` in your browser.
|
||||
Replace `<aci-fqdn>` with `ACI_FQDN`, replace `<OD_API_TOKEN>` with the same secret passed to the Bicep deployment, and keep `BROWSER_ORIGIN` equal to the origin served by the proxy. Keep the `/api/` buffering, gzip, HTTP/1.1, and timeout directives in place so streamed generation responses are not cut off by nginx. After the proxy is configured, open `BROWSER_ORIGIN` in your browser.
|
||||
|
||||
## Optional Parameters
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue