António P. P. Almeida Wrote: ------------------------------------------------------- > XSendfile in Nginx is called X-Accel-Redirect. > > The way X-Accel-Redirect works is that your app/backend sends a > "special" header with the location of the file that is to be served by > Nginx. Usually the application case is for speeding up the delivery of > protected/pby w00t - Nginx Mailing List - English
Jonathan Matthews Wrote: ------------------------------------------------------- > No. This is a /response/ header from (typically) a dynamic backend > which instructs nginx to serve some piece of static content, thus > freeing up the backend for more intelligent, heavy-weight request > handling. There are more sophisticated uses, but you should at least > understand this baby w00t - Nginx Mailing List - English
Hello, I'd like to test if I set up my configs properly and if they're working. Should it work if I send a GET request with the X-Accel-Redirect header? I am using Mozilla plugin "Modify Headers". I have added: "X-Accel-Redirect /index" and my request on the server is: (captured with tcpdump) --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Fireby w00t - Nginx Mailing List - English
Indeed, after some more search I have found what you are saying. http://forum.nginx.org/read.php?2,185057,186002#msg-186002by w00t - Nginx Mailing List - English
This seems odd. If it wasn't meant for Nginx to process uploaded files, then it couldn't have processed them by itself. For example, I changed location @test { proxy_pass http://example.com:8080; to location @test { default_type text/html; root /www; and removed the :8080 server part and it still works. So I am inclined to think that there must be a way to set theby w00t - Nginx Mailing List - English
Hello, I am trying to upload files to Nginx and process them via itself. I have compiled it with nginx_upload_module-2.2.0. My config is the following: server { listen 80; server_name example.com; client_max_body_size 100m; location / { root /www; autoindex on; } location /upload { root /www; if ($request_meby w00t - Nginx Mailing List - English