Skip to content

Instantly share code, notes, and snippets.

@ismell
Last active December 20, 2015 15:49
Show Gist options
  • Save ismell/6156617 to your computer and use it in GitHub Desktop.
Save ismell/6156617 to your computer and use it in GitHub Desktop.
Nginx not implemented error using 1.5.3
./configure --prefix=/var/lib/nginx --sbin-path=/usr/local/sbin --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx/nginx.pid --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --without-http-cache
make
make install
2013/08/02 17:01:11 [warn] 26#0: *7 a client request body is buffered to a temporary file /var/lib/nginx/client_body_temp/0000000001, client: 172.16.42.1, server: , request: "POST /tenants/cwstest/stunts/51fbe5d696bb27002d000001/uploads/51fbe5d796bb27002d000002/encrypt HTTP/1.1", host: "localhost:49172"
2013/08/02 17:01:11 [crit] 26#0: *7 writev() "/var/lib/nginx/client_body_temp/0000000001" failed (38: Function not implemented), client: 172.16.42.1, server: , request: "POST /tenants/cwstest/stunts/51fbe5d696bb27002d000001/uploads/51fbe5d796bb27002d000002/encrypt HTTP/1.1", host: "localhost:49172"
worker_processes 1;
daemon off;
#master_process off;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
client_max_body_size 200M;
server {
listen 80 default_server;
location / {
proxy_pass http://unix:/var/run/app/unicorn.sock:/;
proxy_set_header X-Forwarded-Host "$http_x_forwarded_host, $http_host";
proxy_set_header X-Forwarded-For "$proxy_add_x_forwarded_for";
proxy_set_header X-Forwarded-Prefix "$http_x_forwarded_prefix";
}
}
}
curl -i -F name=test -F [email protected] http://localhost:49172/tenants/cwstest/stunts/51fbe5d696bb27002d000001/uploads/51fbe5d796bb27002d000002/encrypt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment