-
-
Save ismell/6156617 to your computer and use it in GitHub Desktop.
Nginx not implemented error using 1.5.3
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
./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 |
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
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" |
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
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"; | |
} | |
} | |
} | |
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
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