| Nginx-ru mailing list archive (nginx-ru@sysoev.ru) [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
 Re: POST data и empty gif
 
 
К слову о заворачиваниях на самого себя. Может лучше это делать не через 
сетевой сокет, а через unix-сокеты?
26.03.2012, в 22:21, "anon" <nginx-forum@xxxxxxxx> написал(а):
> Понял, завернул так:
> 
> location  /man {
>                proxy_pass  http://exp.com/empty;
>                access_log  /var/log/nginx/data.log postdata_log;
> }
> location = /empty {
>                if ($request_method = POST) {
>                return 200;
>                }
>    empty_gif;
> }
> Может кому пригодится формат лога.
> log_format postdata     $time_iso8601&$remote_addr&$request_body;
> 
> Posted at Nginx Forum: 
> http://forum.nginx.org/read.php?21,224391,224411#msg-224411
> 
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@xxxxxxxxx
> http://mailman.nginx.org/mailman/listinfo/nginx-ru
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
 |