Created
August 26, 2015 19:00
-
-
Save voxxit/17d305a8ed68e77d8271 to your computer and use it in GitHub Desktop.
Working NGINX configuration; for use with HTTP/2 Dockerfile here: https://gist.github.com/voxxit/48217044067bb859248e
This file contains hidden or 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
| worker_processes 1; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| include mime.types; | |
| default_type application/octet-stream; | |
| access_log off; | |
| sendfile on; | |
| server { | |
| listen 443 http2 default_server; | |
| ssl_certificate cert.pem; | |
| ssl_certificate_key cert.key; | |
| location / { | |
| root html; | |
| index index.html index.htm; | |
| } | |
| } | |
| } | |
| daemon off; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems I can't get this to work for Chrome on Mac. However, changing L15 to
will do the trick.
I found the
ssloption from this article:https://www.nginx.com/blog/nginx-1-9-5/