Skip to content

Commit

Permalink
fix network time precision regression regression
Browse files Browse the repository at this point in the history
This should really be fixed on the client side too so we can eventually
drop this workaround.
  • Loading branch information
thestinger committed Jan 20, 2024
1 parent 5ee1346 commit ff838b8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,16 @@ http {
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;

location = / {
# work around regression in port to Android 14 not using /generate_204

# note: location block keepalive configuration does not work for HTTP/2
keepalive_requests 2;
keepalive_timeout 15s;

add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
add_header X-Robots-Tag "none" always;
add_header X-Time $msec_integer;

return 301 https://grapheneos.org/faq#default-connections;
}

Expand Down

0 comments on commit ff838b8

Please sign in to comment.