mirror of
https://github.com/hassio-addons/addon-traccar.git
synced 2025-05-05 11:31:21 +00:00
🚑 Fixes Traccar websockets timeout issues
This commit is contained in:
parent
b1d7eea469
commit
d5e14b9483
2 changed files with 4 additions and 6 deletions
|
@ -55,9 +55,8 @@ http {
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header X-NginX-Proxy true;
|
proxy_set_header X-NginX-Proxy true;
|
||||||
if ($uri != '/') {
|
proxy_read_timeout 86400s;
|
||||||
expires 30d;
|
proxy_send_timeout 86400s;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,9 +39,8 @@ http {
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header X-NginX-Proxy true;
|
proxy_set_header X-NginX-Proxy true;
|
||||||
if ($uri != '/') {
|
proxy_read_timeout 86400s;
|
||||||
expires 30d;
|
proxy_send_timeout 86400s;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue