File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ The load balancer configuration **must** have the following properties:
46464 . Support a maximum body size of up to 20 MB.
47475 . Provide TLS termination with a certificate signed by a known CA.
4848
49+ To support connections from the Web client, CORS headers must be provided.
50+
4951Finally, the load balancer that performs TLS termination must redirect traffic
5052from ` 443 ` to ` 19100 ` (the port exposed by the proxy).
5153
@@ -81,6 +83,7 @@ server {
8183 proxy_set_header X-Real-IP $remote_addr;
8284 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
8385 proxy_set_header X-Forwarded-Proto $scheme;
86+ proxy_set_header Access-Control-Allow-Origin *;
8487 }
8588
8689 keepalive_timeout 10m 60s;
@@ -107,6 +110,8 @@ example.com {
107110 read_timeout 10m
108111 write_timeout 10m
109112 }
113+
114+ header Access-Control-Allow-Origin *
110115 }
111116}
112117```
You can’t perform that action at this time.
0 commit comments