Skip to content

Instantly share code, notes, and snippets.

Created October 10, 2014 00:26
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 anonymous/a1c8367924aac8668e8b to your computer and use it in GitHub Desktop.
Save anonymous/a1c8367924aac8668e8b to your computer and use it in GitHub Desktop.
worker_processes 2;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name localhost;
location / {
root /srv/http/;
index index.html index.htm;
}
}
server {
listen 443 ssl;
server_name localhost;
ssl_certificate cert.crt;
ssl_certificate_key cert.key;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_protocols SSLv3 TLSv1;
ssl_session_cache shared:SSL:1m;
ssl_ciphers HIGH:!aNULL:!RC4-MD5;
ssl_prefer_server_ciphers on;
location / {
root /srv/http/;
index index.html index.htm;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment