Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #user nobody;
- worker_processes 15; #have tried 4 and 8 as well
- error_log logs/error.log;
- #pid logs/nginx.pid;
- events {
- worker_connections 1024; # have tried increasing connections while decreasing w_p above
- }
- http {
- include mime.types;
- default_type application/octet-stream;
- access_log off;
- #sendfile on;
- #tcp_nopush on;
- keepalive_timeout 20;
- #keepalive_timeout 65;
- #tcp_nodelay off;
- gzip on; # doesn't seem to change anything when i disable
- gzip_disable "MSIE [1-6]\.(?!.*SV1)";
- gzip_proxied any;
- gzip_min_length 500;
- #client_body_buffer_size 16m;
- server {
- listen 1.2.3.4:80;
- server_name test*;
- location / {
- tcp_nodelay on; #doesnt make a difference when i turn this off
- tcp_nopush on;
- #open_file_cache max=1000 inactive=20s;
- #open_file_cache_valid 30s;
- #open_file_cache_min_uses 2;
- #open_file_cache_errors off;
- rewrite ^/(.*)/([a-zA-Z0-9]*) /$2 last;
- root /media/ram;
- }
Advertisement
Add Comment
Please, Sign In to add comment