Thank you, now it seems to work!
Verstuurd vanaf mijn iPhone
> Op 17 nov. 2017 om 15:02 heeft Francis Daly het volgende
> geschreven:
>
> On Fri, Nov 17, 2017 at 02:16:41PM +0100, Ruben wrote:
>
> Hi there,
>
>> instance-001 log when making the request:
>>
ecko)
Chrome/62.0.3202.94 Safari/537.36"
2017-11-17 8:53 GMT+01:00 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 an
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:
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 {
Just start with the default ones.
Verstuurd vanaf mijn iPhone
> Op 16 okt. 2017 om 19:32 heeft agriz het
> volgende geschreven:
>
> Sir,
>
> Can you give me a rough values?
> I will play with them.
>
> Posted at Nginx Forum:
> https://forum.nginx.org/read.php?2,276892,276896#msg-276896
>
>
Maybe lower fpm specs and raise nginx spec?
Verstuurd vanaf mijn iPhone
> Op 16 okt. 2017 om 18:59 heeft agriz het
> volgende geschreven:
>
> PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND
> 22093 nginx 20 0 393060 11848 3828 S 31.9 0.0 10:17.70 php-fpm:
When setting max_fails=0 for all server directives used in upstream module.
So for example:
upstream chat-servers {
hash $arg_chatName;
server chat-1 max_fails=0;
server chat-2 max_fails=0;
server chat-3 max_fails=0;
}
Assume a certain ?chatName=xxx is directed to chat-2 server, and this
s.
2017-10-09 12:23 GMT+02:00 Roman Arutyunyan :
>
> Hi Ruben,
>
> On Mon, Oct 09, 2017 at 11:51:54AM +0200, Ruben wrote:
> > First of all thanks for your reply. But what happens if I have for
example
> > a hostname: test, which resolves to a randomized list of multiple ip
his, because docker constantly returns a randomized fixed list
of ip's (for dns load balancing). But I always want to route a user,
targetting for some url, to the same container.
2017-10-09 11:25 GMT+02:00 Roman Arutyunyan :
> Hi Ruben,
>
> On Mon, Oct 09, 2017 at 09:33:5
I was wondering what the selection algorithm is for choosing a server in
the upstream directive using hash. Is the selection based on the ip of the
server or is it based on the position of the list.
So if I have for example the following configuration:
upstream test {
hash $arg_test;
server 1
Maybe try setting location /hello and /world would help?
Thanks,
Ruben Tan
On Monday, October 7, 2013 at 1:27 PM, Jabba Laci wrote:
> Hi,
>
> I'm new to the list. I started to learn the Python web framework Flask
> and I would like to try it in production environment too. I m
11 matches
Mail list logo