Created
May 28, 2015 00:44
-
-
Save khanimdad/fbb6063fc239eb6f29f5 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
user www-data; | |
worker_processes 4; | |
pid /var/run/nginx.pid; | |
events { worker_connections 1024; } | |
http { | |
## Basic Setting ## | |
#gzip off; | |
sendfile on; | |
proxy_cache_valid 404 1m; | |
tcp_nopush on; | |
tcp_nodelay on; | |
keepalive_timeout 65; | |
types_hash_max_size 2048; | |
server_tokens off; | |
# POODLE ATTACK | |
#ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
# server_names_hash_bucket_size 64; | |
server_name_in_redirect off; | |
include /etc/nginx/mime.types; | |
default_type application/octet-stream; | |
## Log Setting ## | |
access_log off;#/var/log/nginx/access.log; | |
error_log /var/log/nginx/error.log; | |
## Gzip Settings ## | |
#gzip on; | |
#gzip_disable "msie6"; | |
#gzip_types text/plain text/xml text/css text/comma-separated-values; | |
#upstream hailisys_server {server 127.0.0.1:8080; } | |
## Virtual Host Configs ## | |
#include /etc/nginx/conf.d/*.conf; | |
include /etc/nginx/sites-enabled/*; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment