Created
April 21, 2017 03:44
-
-
Save hfm/5b04878c3c68a61d0898904a02037391 to your computer and use it in GitHub Desktop.
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
worker_processes auto; | |
daemon off; | |
# error_log logs/error.log; | |
error_log /dev/stderr; | |
pid logs/nginx.pid; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; | |
sendfile on; | |
tcp_nopush on; | |
keepalive_timeout 65; | |
gzip on; | |
access_log /dev/stdout; | |
server { | |
listen 50443 ssl; | |
server_name _; | |
ssl on; | |
ssl_protocols TLSv1.3; | |
ssl_certificate cert.pem; | |
ssl_certificate_key cert.key; | |
ssl_session_cache shared:SSL:1m; | |
ssl_session_timeout 5m; | |
ssl_ciphers HIGH:!aNULL:!MD5; | |
ssl_prefer_server_ciphers on; | |
location / { | |
root html; | |
index index.html index.htm; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment