Skip to content

Instantly share code, notes, and snippets.

@hiteshjoshi
Created January 15, 2017 07:47
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 hiteshjoshi/20e021d8862a5736bcb98dba7279f110 to your computer and use it in GitHub Desktop.
Save hiteshjoshi/20e021d8862a5736bcb98dba7279f110 to your computer and use it in GitHub Desktop.
user: www-data
hosts:
"localhost:443":
listen:
port: 443
ssl:
certificate-file: "/etc/nginx/ssl/haip.me.cert"
key-file: "/etc/nginx/ssl/haip.me.key"
cipher-suite: "HIGH:!aNULL:!MD5"
dh-file: "/etc/nginx/ssl/dhparam.pem"
paths:
"/":
file.file: /var/www/html/index.html
"localhost:80":
listen:
port: 80
paths:
"/":
redirect:
status:301
url:https://haip.me
error-log: /var/log/h2o/error.log
pid-file: /var/run/h2o/h2o.pid
http2-reprioritize-blocking-assets: ON
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment