# H2O

the optimized HTTP/1.x, HTTP/2 server

×
Powered by Oktavia

## Configure > HTTP/1 Directives

This document describes the configuration directives for controlling the HTTP/1 protocol handler.

### `"http1-request-timeout"`

Description:

  Timeout for incoming requests in seconds.

Level:
  global
Default:
  `

      http1-request-timeout: 10

  `

### `"http1-upgrade-to-http2"`

Description:

  Boolean flag (`ON` or `OFF`) indicating whether or not to allow upgrade to HTTP/2.

Level:
  global
Default:
  `

      http1-upgrade-to-http2: ON

  `