🚑 Fixes Traccar websockets timeout issues

This commit is contained in:
Franck Nijhof 2018-11-27 22:56:25 +01:00
parent b1d7eea469
commit d5e14b9483
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3
2 changed files with 4 additions and 6 deletions

View file

@ -55,9 +55,8 @@ http {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
if ($uri != '/') {
expires 30d;
}
proxy_read_timeout 86400s;
proxy_send_timeout 86400s;
}
}
}

View file

@ -39,9 +39,8 @@ http {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
if ($uri != '/') {
expires 30d;
}
proxy_read_timeout 86400s;
proxy_send_timeout 86400s;
}
}
}