Re: How to log all headers in nginx?

2017-06-06 Thread prathour9
prathour9 Wrote: --- > Hi Toker,Thanks for reply.This is something i am already doing but i > want nginx to do the same in nginx logging.I want to offload this task > from application to nginx. Posted at Nginx Forum: https://forum.nginx.org/read

Re: How to log all headers in nginx?

2017-06-06 Thread prathour9
Hi Toker,Thanks for reply.This is something i am already doing but i want nginx to do the same in nginx logging.I want to offload thit task from application to nginx. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,251159,274726#msg-274726 __

Re: How to log all headers in nginx?

2017-06-06 Thread tokers
You can traverse the list r->headers_in.headers. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,251159,274725#msg-274725 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: How to log all headers in nginx?

2017-06-06 Thread Zhang Chao
Hi You can traverse the list r->headers_in.headers. On 7 June 2017 at 14:22:38, prathour9 (nginx-fo...@forum.nginx.org) wrote: I want to log all the headers in client browser send to nginx.However known header i can log.But I want to log the all unknown headers. How can i log unknown header in

Re: How to log all headers in nginx?

2017-06-06 Thread Zhang Chao
You can traverse the list r->headers_in.headers. On 7 June 2017 at 14:22:38, prathour9 (nginx-fo...@forum.nginx.org) wrote: I want to log all the headers in client browser send to nginx.However known header i can log.But I want to log the all unknown headers. How can i log unknown header in ngin

Re: How to log all headers in nginx?

2017-06-06 Thread prathour9
I want to log all the headers in client browser send to nginx.However known header i can log.But I want to log the all unknown headers. How can i log unknown header in nginx. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,251159,274722#msg-274722 __

Re: How to do proxy in this case

2017-06-06 Thread Francis Daly
On Tue, Jun 06, 2017 at 09:13:55AM -0400, David Woodstuck wrote: Hi there, > I have one proxy server(nginx) - such as nginx.mycom.com and three upstream > servers - name1.mycom.com, name2.mycom.com name3.mycom.com for my one > application. Contents from upstream servers have a lot of iframes whic

Re: Unable to start php-fpm

2017-06-06 Thread Anoop Alias
grep apache /etc/passwd should return something. FYI this has nothing to do with nginx On Wed, Jun 7, 2017 at 7:11 AM, marcospaulo877 wrote: > /etc/init.d/php-fpm restart > Stopping php-fpm: [FAILED] > Starting php-fpm: [07-Jun-2017 01:35:37] ERROR: [po

Re: Unable to start php-fpm

2017-06-06 Thread marcospaulo877
/etc/init.d/php-fpm restart Stopping php-fpm: [FAILED] Starting php-fpm: [07-Jun-2017 01:35:37] ERROR: [pool www] cannot get uid for user 'apache' [07-Jun-2017 01:35:37] ERROR: FPM initialization failed

Convert Alias from apache (totally different root)

2017-06-06 Thread ianwinter
I've read the docs and understand how root and alias work within a location, but, neither can be used to convert what I've got in apache that I can see. Take the example `Alias /media /path/to/assets` in apache, the location and path are completely different (media doesn't form any part either in

Re: Active/Active NginX configuration

2017-06-06 Thread Francis Daly
On Tue, May 30, 2017 at 11:20:11AM -0400, kingstonsew wrote: Hi there, > I current have configured 2 NginX running on Red Had Enterprise Linux 7.3. > Both NginX will load balance a set of 4 application servers. The current > configuration for both of the NginX is active / passive by using keepali

Stale While Revalidate Expires

2017-06-06 Thread Rafael Cirolini
We've just updated to 1.12 to use the stale-while-revalidate option. The application is who sends the cache-control header, like this: cache-control:max-age=180, stale-while-revalidate=60, stale-if-error=864000 If I understood how SWR works, the user shouldn't receive stale content after 180+60

Re: how to install nginx_substitutions_filter in existing Nginx

2017-06-06 Thread Francis Daly
On Tue, Jun 06, 2017 at 12:27:04AM -0400, David Woodstuck wrote: Hi there, > I am a new Nginx user. I just install Nginx 1.12. I like to > use nginx_substitutions_filter. I cannot figure out how to install > nginx_substitutions_filter in previously existing Nginx. You (probably) don't. https://

Re: Proxy parameter to nginx service

2017-06-06 Thread Francis Daly
On Mon, Jun 05, 2017 at 04:16:55PM +0200, juan_barbancho_...@cajarural.com wrote: Hi there, > I need to use nginx to made a proxy_pass to some url, but I need to pass > some proxy param in order to do not get the connection " upstream timed > out (110: Connection timed out) " Stock nginx do

Re: source rpms missing?

2017-06-06 Thread David Kewley
Thanks Konstantin! I see this now: http://nginx.org/packages/centos/6/SRPMS/nginx-1.12.0-1.el6.ngx.src.rpm. Didn't see it yesterday, but maybe I was overlooking it. I did verify that the binary rpms for CentOS and RHEL are identical, so agreed that the CentOS srpm will meet my needs. David On Tu

Re: SRP Support.

2017-06-06 Thread Maxim Dounin
Hello! On Tue, Jun 06, 2017 at 10:06:57AM +0300, Антон Чивкунов via nginx wrote: > Hi all. > Please kindly let me know if nginx (or nginx Plus) have support > of SRP (Secure Remote Password Protocol) authentication? > After checking nginx documentation and source code I guess the > answer on my

How to do proxy in this case

2017-06-06 Thread David Woodstuck
I have one proxy server(nginx) - such as nginx.mycom.com and three upstream servers - name1.mycom.com, name2.mycom.com name3.mycom.com for my one application. Contents from upstream servers have a lot of iframes which have different domains. I want to allow XSS for these different domains. I don't

Re: source rpms missing?

2017-06-06 Thread Konstantin Pavlov
Hello, On 06/06/2017 04:00, David Kewley wrote: > In http://nginx.org/packages/rhel/6/SRPMS/ I don't see > nginx-1.12.0-1.el6.ngx.src.rpm as expected. Similar for RHEL 5 and 7, and for > CentOS. This appears just to affect this release not (most of) the previous > releases. RHEL5 and CentOS5 a

SRP Support.

2017-06-06 Thread Антон Чивкунов via nginx
Hi all. Please kindly let me know if nginx (or nginx Plus) have support of SRP (Secure Remote Password Protocol) authentication? After checking nginx documentation and source code I guess the answer on my question will be ‘NO’, but would like to get confirmation (may be I missed something). If