Created
December 7, 2015 16:40
-
-
Save serverwentdown/d637d4a60b71b7b66a7e 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
frontend=0.0.0.0,8444 | |
backend=127.0.0.1,8080 | |
private-key-file=ssl/domain.key | |
certificate-file=ssl/signed.crt | |
workers=8 |
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 8; | |
error_log /dev/null crit; | |
daemon off; | |
events { | |
worker_connections 4096; | |
} | |
http { | |
include /etc/nginx/mime.types; | |
index index.html; | |
sendfile on; | |
tcp_nopush on; | |
tcp_nodelay on; | |
aio threads; | |
server { | |
listen 8080; | |
listen 8443 ssl http2; | |
ssl_certificate ssl/signed.crt; | |
ssl_certificate_key ssl/domain.key; | |
error_log /dev/null crit; | |
access_log off; | |
root html; | |
} | |
} |
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 8; | |
error_log /dev/null crit; | |
daemon off; | |
events { | |
worker_connections 4096; | |
} | |
http { | |
include /etc/nginx/mime.types; | |
index index.html; | |
sendfile on; | |
tcp_nopush on; | |
tcp_nodelay on; | |
aio threads; | |
server { | |
listen 8081; | |
listen 8445 ssl spdy; | |
ssl_certificate ssl/signed.crt; | |
ssl_certificate_key ssl/domain.key; | |
error_log /dev/null crit; | |
access_log off; | |
root html; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment