We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84a58e7 commit bac4a0dCopy full SHA for bac4a0d
1 file changed
docker/nginx.conf
@@ -51,6 +51,18 @@ server {
51
proxy_connect_timeout 75s;
52
}
53
54
+ # Proxy SDK API to backend
55
+ location /v1/ {
56
+ proxy_pass http://backend;
57
+ proxy_http_version 1.1;
58
+ proxy_set_header Host $host;
59
+ proxy_set_header X-Real-IP $remote_addr;
60
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
61
+ proxy_set_header X-Forwarded-Proto $scheme;
62
+ proxy_read_timeout 300s;
63
+ proxy_connect_timeout 75s;
64
+ }
65
+
66
# WebSocket proxy to backend
67
location /ws/ {
68
proxy_pass http://backend;
0 commit comments