Files
CARIA-AUTOMOTIVE/ui/nginx.conf
T

17 lines
430 B
Nginx Configuration File

server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
add_header X-Content-Type-Options nosniff;
location /api/ {
access_log off;
resolver 127.0.0.11 valid=10s ipv6=off;
set $backend http://telemetry:8080;
proxy_pass $backend;
proxy_connect_timeout 2s;
proxy_read_timeout 12s;
}
location / { try_files $uri $uri/ =404; }
}