Re: Nginx dynamic proxy_pass keeps redirecting to wrong domain

2017-11-16 Thread Francis Daly
On Fri, Nov 17, 2017 at 04:48:04AM +0100, Ruben D wrote: Hi there, > In my browser bar I see the address beginning with instance-001. While I > expect not to have a redirect and just see http://example.com/etc... That means that when your browser asks nginx for http://example.com/etc, nginx sen

why is proxy_cache_lock not working?

2017-11-16 Thread edanic0017
I am running nginx server in front of httpd server. nginx -V nginx version: nginx/1.10.2 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) built with OpenSSL 1.0.1e-fips 11 Feb 2013 TLS SNI support enabled configure arguments: --prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx --modules-path

Re: Nginx dynamic proxy_pass keeps redirecting to wrong domain

2017-11-16 Thread Peter Booth
You need to understand, step-by-stp, exactly what is happening. Here is one (of many) ways to do this: 1. Open the Chrome browser 2. Right click on the background and select inspect, this will open the developer tools page 3. Select the tab “Network” which shows you the HTTp requests issued for

Re: Nginx dynamic proxy_pass keeps redirecting to wrong domain

2017-11-16 Thread Ruben D
In my browser bar I see the address beginning with instance-001. While I expect not to have a redirect and just see http://example.com/etc... Is that what you mean? Verstuurd vanaf mijn iPhone > Op 16 nov. 2017 om 23:56 heeft Francis Daly het volgende > geschreven: > > On Thu, Nov 16, 2017 a

Re: Nginx dynamic proxy_pass keeps redirecting to wrong domain

2017-11-16 Thread Francis Daly
On Thu, Nov 16, 2017 at 09:59:49PM +0100, Ruben wrote: Hi there, > location / { > proxy_pass http://$instance; > } > The problem is, when I go to http://example.com/cdn/test/test.jpg in the > browser, it redirects me to http://instance-001/cdn/test/test.jpg. Which is >

Nginx dynamic proxy_pass keeps redirecting to wrong domain

2017-11-16 Thread Ruben
I am using the following config: http { server { listen 80; location / { resolver 127.0.0.11; auth_request /auth; auth_request_set $instance $upstream_http_x_instance; proxy_pass http://$instance; } location = /auth {

Re: Nginx optimal speed in limit_rate for video streams

2017-11-16 Thread Lucas Rolff
Depends on your bitrate of your movies as well, it will be hard to play 4K videos on 1 megabit/s Get Outlook for iOS From: nginx on behalf of c0nw0nk Sent: Thursday, November 16, 2017 9:26:06 PM To: nginx@nginx.org Subject: Nginx optimal

Nginx optimal speed in limit_rate for video streams

2017-11-16 Thread c0nw0nk
So when dealing with mp4 etc video streams what is the best speed to send / transfer files to people that does not cause delays in latency / lagging on the video due etc. My current : location /video/ { mp4; limit_rate_after 1m; limit_rate 1m; } On other sites when i download / watc

Re: Nginx drops server our LB if it see HTTP 400.

2017-11-16 Thread Maxim Dounin
Hello! On Thu, Nov 16, 2017 at 03:03:49PM +0200, Brent Clark wrote: > Good day Guys > > I'm sitting with a very peculiar problem, and I was hoping someone could > be of assistance. > > Right now everything is a theory, but when I switch back to LVS > everything works. Reason I like and want Ngi

Nginx drops server our LB if it see HTTP 400.

2017-11-16 Thread Brent Clark
Good day Guys I'm sitting with a very peculiar problem, and I was hoping someone could be of assistance. Right now everything is a theory, but when I switch back to LVS everything works. Reason I like and want Nginx is for the reverse caching (caching of images). As said, Im using Nginx for reve

ry efficient ayurvedic solutions to enhance vars performance-related power. Shilajit ES

2017-11-16 Thread kalijsola
to t products, excellent outcomes by using this remedy. Overview the product: Mast Emotions capsules: This is one vars performance the efficient organic choices which are absolutely prepared with natural herbs. Individuals may use this tablets to enhance vars performance-related power. The various