Created
November 17, 2016 22:01
-
-
Save angristan/b666e87363b09d53dd07b21a39217213 to your computer and use it in GitHub Desktop.
h2o webserver exemple conf, just in case
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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