Welcome! Log In Create A New Profile

Advanced

Re: Upload module + cleanup после обработки

February 19, 2012 02:12PM
Включил моск и в исходнике ngx_http_upload_module.c сделал:

- if (lo < 400 || hi > 599) {
+ if (lo < 200 || hi > 599) {

- "value(s) \"%V\" must be between 400 and 599",
+ "value(s) \"%V\" must be between 200 and 599",

Вопрос закрыт.

19 февраля 2012 г. 18:34 пользователь Алексей Бобок
<alexey.bobok@gmail.com>написал:

> Приветствую.
>
> Как сделать upload_cleanup файлу, после того, как бекенд ответил code 200?
> Нужно удалять файл из upload_store, после того как PHP
> обработало модифицированный POST.
> Спасибо.
>
> st1# nginx -V
> nginx: nginx version: nginx/1.0.10
> nginx: TLS SNI support enabled
> nginx: configure arguments: --prefix=/usr/local/etc/nginx
> --with-cc-opt='-I /usr/local/include' --with-ld-opt='-L /usr/local/lib'
> --conf-path=/usr/local/etc/nginx/nginx.conf
> --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid
> --error-log-path=/var/log/nginx-error.log --user=www --group=www
> --with-file-aio
> --http-client-body-temp-path=/var/tmp/nginx/client_body_temp
> --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp
> --http-proxy-temp-path=/var/tmp/nginx/proxy_temp
> --http-scgi-temp-path=/var/tmp/nginx/scgi_temp
> --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp
> --http-log-path=/var/log/nginx-access.log
> --add-module=/usr/ports/www/nginx/work/nginx-accesskey-2.0.3
> --add-module=/usr/ports/www/nginx/work/vkholodkov-nginx-eval-module-125fa2e
> --with-http_flv_module --with-http_gzip_static_module
> --with-http_image_filter_module
> --add-module=/usr/ports/www/nginx/work/nginx_http_push_module-0.692
> --with-http_ssl_module --with-http_stub_status_module
> --with-http_sub_module
> --add-module=/usr/ports/www/nginx/work/nginx_upload_module-2.2.0
> --add-module=/usr/ports/www/nginx/work/nginx_uploadprogress_module-0.8.2
> --add-module=/usr/ports/www/nginx/work/ngx_http_upstream_keepalive-0.7
> --with-pcre
>
>
> --
> Think before you print.
> Best regards, Alexey Bobok.
>



--
Think before you print.
Best regards, Alexey Bobok.
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Upload module + cleanup после обработки

showjumper February 19, 2012 11:36AM

Re: Upload module + cleanup после обработки

showjumper February 19, 2012 02:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 86
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready