18 lines
535 B
Plaintext
18 lines
535 B
Plaintext
# Template only. Integrator selects the existing server and release root.
|
|
# Insert these locations in the deployment owner's server block.
|
|
location / {
|
|
root /srv/cybergril/current;
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
location /v1/ {
|
|
proxy_pass http://192.168.200.11:8731;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Host $proxy_host;
|
|
proxy_set_header Connection "";
|
|
proxy_buffering off;
|
|
proxy_cache off;
|
|
proxy_read_timeout 45s;
|
|
proxy_send_timeout 45s;
|
|
add_header X-Accel-Buffering no always;
|
|
}
|