-
-
Save rajveermalviya/2188c9a8d1a3e21c2efea186d61026b2 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
daemon off; | |
worker_processes auto; | |
events { | |
worker_connections 1024; | |
multi_accept on; | |
} | |
http { | |
sendfile on; | |
tcp_nopush on; | |
tcp_nodelay on; | |
keepalive_timeout 65; | |
types_hash_max_size 2048; | |
client_max_body_size 25m; | |
include /opt/homebrew/etc/nginx/mime.types; | |
default_type application/octet-stream; | |
error_log /dev/stdout; | |
access_log /dev/stdout; | |
reset_timedout_connection on; | |
gzip on; | |
gzip_proxied any; | |
gzip_comp_level 3; | |
gzip_types | |
application/javascript | |
application/json | |
application/xml | |
application/x-javascript | |
image/svg+xml | |
text/css | |
text/javascript | |
text/plain; | |
gzip_vary on; | |
server { | |
listen 8080; | |
server_name localhost; | |
root /Users/rajveer/Projects/dart-json-bench; | |
location / { | |
autoindex on; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment