タグ

2019年12月20日のブックマーク (3件)

  • 13.5.1 End-to-end and Hop-by-hop Headers

    inoueyuworks
    inoueyuworks 2019/12/20
    End-to-end と Hop-by-hop なヘッダについての HTTP プロトコルの規定。 End-to-End はプロキシを越える。 Hop-by-Hop は 1 (tcp)コネクションの間のみ。 Hop-by-hop ヘッダは利用の際に、 Connection: ヘッダ名 と指定する必要がある。
  • WebSocket proxying

    To turn a connection between a client and server from HTTP/1.1 into WebSocket, the protocol switch mechanism available in HTTP/1.1 is used. There is one subtlety however: since the “Upgrade” is a hop-by-hop header, it is not passed from a client to proxied server. With forward proxying, clients may use the CONNECT method to circumvent this issue. This does not work with reverse proxying however, s

    inoueyuworks
    inoueyuworks 2019/12/20
    Nginx は、cli.req に Upgrade ヘッダがあって、 serv.resp が 101 であった場合、そのコネクション(たち)を tunnel モードにして保持する。また、 hop-by-hop な Upgrade ヘッダの typical な指定方法について。
  • NGINX Rate Limiting

    Analytics cookies are off for visitors from the UK or EEA unless they click Accept or submit a form on nginx.com. They’re on by default for everybody else. Follow the instructions here to deactivate analytics cookies. This deactivation will work even if you later click Accept or submit a form. Check this box so we and our advertising and social media partners can use cookies on nginx.com to better

    NGINX Rate Limiting
    inoueyuworks
    inoueyuworks 2019/12/20
    ただの rate limit == N millisec 経たない場合は即座に 503; burst == leaky bucket; burst nodelay == トークン(credit)的挙動; burst delay == おそらくそれらの中間。 delay になるまでは nodelay 的に動く。その後は leaky bucket