One solution is to add a separate log_format directive including variables for the desired headers, put an access_log directive in the location and map the headers to the variables referenced in the log_format directive. Alexby frostbyte - How to...
I'd like to log a header from a proxied (via X-Accel) server with $sent_http_<header> before suppressing it with proxy_hide_header <header>. Both of these work alone but, as expected proxy_hide_header erases $sent_http_<header>. Any pointers on how to make this work? I've tried various combinations of variables and sequences of directives without success. Thanks, Alexby frostbyte - How to...
Perfect. Thanks!by frostbyte - Nginx Mailing List - English
perl5.12 via MacPorts: $ perl -MExtUtils::Embed -e ldopts -L/opt/local/lib -arch x86_64 -fstack-protector -L/opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE -lperl -ldl -lm -lutil -lc $ perl -V Summary of my perl5 (revision 5 version 12 subversion 3) configuration: Platform: osname=darwin, osvers=10.8.0, archname=darwin-multi-2level uname='darwin beta.macosforge.orby frostbyte - Nginx Mailing List - English
Same error using perl 5.12 from MacPorts: $ ./configure --prefix=/usr/local --with-cc-opt="-I/usr/local/include -O2 -Wno-deprecated-declarations" --with-ld-opt="-L/usr/local/lib" --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx/nginx.pid --lock-path=/var/run/nginx/nginx.lock --httpby frostbyte - Nginx Mailing List - English
Snow Leopard 10.6.7, Xcode 4.0.1: $ cd nginx-1.0.6 $ ./configure --prefix=/usr/local --with-cc-opt="-I/usr/local/include -O2 -Wno-deprecated-declarations" --with-ld-opt="-L/usr/local/lib" --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx/nginx.pid --lock-path=/var/run/nginx/nginx.lby frostbyte - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
![]() |