Skip to content

Instantly share code, notes, and snippets.

@angristan
Created November 17, 2016 22:01
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 angristan/b666e87363b09d53dd07b21a39217213 to your computer and use it in GitHub Desktop.
Save angristan/b666e87363b09d53dd07b21a39217213 to your computer and use it in GitHub Desktop.
h2o webserver exemple conf, just in case
user: www-data
num-threads: 2
max-connections: 1024
pid-file: /run/h2o.pid
access-log: /var/log/h2o/access.log
error-log: /var/log/h2o/error.log
http1-request-timeout: 10
file.dirlisting: OFF
hosts:
"website.tld:80":
listen:
port: 80
paths:
"/":
file.dir: /srv/
redirect:
url: /index.html/
internal: YES
status: 307
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment