cmvr-wms/mobile-app/deploy/nginx-ota.locations.conf

20 lines
601 B
Plaintext
Raw Normal View History

# CMVR mobile OTA: keep inside the existing production server block.
location = /updates/prod {
proxy_pass http://127.0.0.1:8190;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_connect_timeout 3s;
proxy_read_timeout 15s;
proxy_buffering off;
}
location ^~ /updates/ {
return 404;
}
location ~ "^/assets/[a-f0-9]{64}$" {
proxy_pass http://127.0.0.1:8190;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_connect_timeout 3s;
proxy_read_timeout 30s;
}