Thank you.
I am looking for an simpler ( direct ) approach. For now I have put a sed
script in my bounce nginx which does that.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,236654,236706#msg-236706
___
nginx mailing list
nginx@nginx.org
ht
Have puppet generate the configuration based on that variable.
--
Snet form my moblie phoen. Please excues tpyos.
On Feb 28, 2013 1:05 AM, "amodpandey" wrote:
> Let me put what I want to achieve.
>
> Before that I want to know what is this 'env' global directive for?
>
> I want to maintain a sin
Let me put what I want to achieve.
Before that I want to know what is this 'env' global directive for?
I want to maintain a single set of configuration files for dev and prod. The
machines would have environment variable set ENV=dev or ENV=prod. Based on
the values of the ENV varibale I wanted to
i needed a small feature for own purposes and pushed to github, include
config generated by program at nginx startup.
https://github.com/korneil/ngx_include_shell_module
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,236702,236702#msg-236702
___
Machine ""front-end"":
haproxy (port 80) -> proxies to "port 8080" and "machine upload"
nginx (port 8080)
Machine "upload":
nginx (port 80) via "front-end"
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,236568,236699#msg-236699
___
nginx mai
Or same question in an other ask.
For example I have a server with 10 virtualdomains.
vhost 1, example.com with 5,000 visitors a month
vhost 2, example.org with 300,000 visitors a month
vhost 3, example.net with 10,000 visitors a month
vhost 4, example.de with 20, visitors a month
vhost 5, ex
Hello,
as you said, you use haproxy in front of nginx, that means the request
will be proxied by haproxy first, and then be proxied by nginx,
although haproxy can proxy request immediately, but nginx can not pass the
request on-the-fly, it will buffer request anagin. Have i made
some mis
Hallo Maxim Dounin,
thanks for your answer. It helps me.
>This can't be a reason as long as you have "default_server"
>parameter of the "listen" directive properly set for listen
>sockets used.
My thought was, the default file is the first alphabetical file
in the folder. And the next domainfil
Hello!
On Wed, Feb 27, 2013 at 06:40:27AM -0500, Varix wrote:
> Hallo Jonathan,
>
> I have some proplems with the english language. This is bad in the IT
> section.
>
> My problem is, i can't find an complett example to do that for education.
> All I find is
> the "old Way" with sites-availbled
Hallo Jonathan,
I have some proplems with the english language. This is bad in the IT
section.
My problem is, i can't find an complett example to do that for education.
All I find is
the "old Way" with sites-availbled and sites-enabled, what I have done for
years.
In January I chance nginx to th
haproxy does not buffer the request - it proxies immediately.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,236568,236668#msg-236668
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On 27 February 2013 06:49, amodpandey wrote:
> Hi,
>
> I have system where I have defined OS environment variable $ENV=prod or dev.
> I want to access this variable inside my nginx configuration. Please help.
>
> I have tried -g "env ENV" in command line. But how do I access it? $ENV does
> not wo
Hello!
On Tue, Feb 26, 2013 at 09:38:52AM -0500, aschlosberg wrote:
> Whilst investigating a series of 502 errors I have noticed that related
> error messages from FastCGI stderr are being truncated and at other times
> the error logging seems to fail part way.
>
> Example:
> 2013/02/25 09:33:14
Hello,
thanks for your reply. but i am still confused with the workground
about haproxy.
i know haproxy dose not buffer request, but if use haproxy in front
of nginx,
when haproxy pass request to nginx, nginx will still buffer the
request to disk
Thanks a lot
Posted at Nginx
Thank you and sorry for my mistake.
You have done a great job!
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,236662,236664#msg-236664
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
On Feb 27, 2013, at 13:56 , traquila wrote:
> Hello,
>
> I have some troubles to configure my reverse proxy cache.
>
> I would like to use a proxy cache with about 5 TB.
> If I estimate an average file size of 128KB, I need to define my zone size
> to about 5GB. (5 TB / (128KB / 128))
>
> Here
Hello,
I have some troubles to configure my reverse proxy cache.
I would like to use a proxy cache with about 5 TB.
If I estimate an average file size of 128KB, I need to define my zone size
to about 5GB. (5 TB / (128KB / 128))
Here the configuration line:
proxy_cache_path /opt/.../hdd_storage/
Example:
Size of POST-request: 10 GB (e.g. HD video)
Upload-time: 4h
The front-server proxies the request to the upload-server.
After the upload has finished, the uploading client wants a quick "all
fine"-message (maximum 30 seconds).
If the upload-server gets the stream directly, the machine has
18 matches
Mail list logo