Flush access log buffer

2018-02-22 Thread li...@lazygranch.com
When I was using FreeBSD, the access log was real time. Since I went to Centos, that doesn't seem to be the case. Is there some way to flush the buffer? ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

RE: Redirection

2018-02-22 Thread Jason Whittington
One easy newbie mistake to make is leaving out trailing slashes for location and proxy_pass blocks. I'd expect the location block to look something like this: location /app/ { proxy_pass http://tomcatdomain/application_name/; } Note the trailing slashes after /app/ and /application_name/.

Re: Redirection

2018-02-22 Thread Aziz Rozyev
Hi, show your full config, usually there is no need to set variable like $tomcatdomain, proxy_pass http://tomcatdomain; is enough. br, Aziz. > On 22 Feb 2018, at 16:17, imrickysingh wrote: > > Hi guys, > > I am new to nginx and facing some problem with my setup. > > In my setup i have

Redirection

2018-02-22 Thread imrickysingh
Hi guys, I am new to nginx and facing some problem with my setup. In my setup i have nginx and tomcat with the application running on tomcat as http://tomcatdomain/application_name. I want to redirect to application if someone hit http://nginxdomain/app. I am able to do the redirection using loca

Error: Too many redirect when redirect sharepoint site

2018-02-22 Thread sonpg
I have a problem when i redirect sharepoint site, it get error "redirected you too many times". I tried to clear cookie but not work code: user nginx; worker_processes 4; error_log /var/log/nginx/error.log warn; pid/var/run/nginx.pid; events { worker_connections 1024; } http { # R