Skip to content

Instantly share code, notes, and snippets.

@serverwentdown
Created December 7, 2015 16:40
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 serverwentdown/d637d4a60b71b7b66a7e to your computer and use it in GitHub Desktop.
Save serverwentdown/d637d4a60b71b7b66a7e to your computer and use it in GitHub Desktop.
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
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;
}
}
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