Created
February 12, 2018 10:45
-
-
Save telingadigital/d15d5e709685c119f98f401300e1d2b5 to your computer and use it in GitHub Desktop.
My Kind of Nginx Conf setting for Local Development on Windows
This file contains hidden or 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 nobody; | |
worker_processes 5; | |
error_log logs/error.log; | |
pid logs/nginx.pid; | |
events { | |
worker_connections 4096; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; | |
include c:/nginx/conf/sites-enabled/*.conf; | |
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' | |
'$status $body_bytes_sent "$http_referer" ' | |
'"$http_user_agent" "$http_x_forwarded_for"'; | |
access_log logs/access.log main; | |
sendfile on; | |
tcp_nopush on; | |
server_names_hash_bucket_size 128; | |
#keepalive_timeout 0; | |
keepalive_timeout 65; | |
#gzip on; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment