Instantly share code, notes, and snippets.

Embed
What would you like to do?
worker_processes 1;
error_log stderr;
events {
worker_connections 1024;
}
http {
sendfile on;
tcp_nopush on;
keepalive_timeout 65;
keepalive_requests 1000000;
access_log off;
server {
listen 8078;
location / {
root /path/to/doc_root;
}
}
server {
listen 8079 ssl http2;
ssl on;
ssl_certificate /path/to/server.crt;
ssl_certificate_key /path/to/server.key;
location / {
/path/to/doc_root;
}
}
open_file_cache max=100000 inactive=20s;
open_file_cache_valid 30s;
open_file_cache_min_uses 2;
open_file_cache_errors on;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment