Skip to content

Instantly share code, notes, and snippets.

@runeh
Created September 25, 2015 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save runeh/f131ce116970842fd1bb to your computer and use it in GitHub Desktop.
Save runeh/f131ce116970842fd1bb to your computer and use it in GitHub Desktop.
listen:
port: 443
ssl:
certificate-file: /tmp/h2o/localhost.crt
key-file: /tmp/h2o/localhost.key
hosts:
"localhost":
paths:
"/":
proxy.reverse.url: http://127.0.0.1:8080
http2-reprioritize-blocking-assets: ON
http2-max-concurrent-requests-per-connection: 1024
num-threads: 1
@runeh
Copy link
Author

runeh commented Sep 25, 2015

Run with sudo h2o -c h2o_http2_proxy.yaml If you need it to run on the default https port. Otherwise just change the port in the config and you can ommit sudo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment